A FBG is a type of distributed Bragg reflector constructed in a short segment of optical fiber that reflects particular wavelengths of light and transmits all others. This FBG is achieved by adding a periodic variation to the refractive index of the fiber core, which generates a wavelength-specific mirror. A fiber Bragg grating can be used as an inline optical filter to block certain wavelengths, or as a wavelength specific reflector.