In optics, a diffraction grating is an optical grating with a periodic structure that diffracts light, or another type of electromagnetic radiation, into several beams traveling in different directions. The emerging coloration is a form of structural coloration. The directions or diffraction angles of these beams depend on the wave (light) incident angle to the diffraction grating, the spacing or periodic distance between adjacent diffracting elements on the grating, and the wavelength of the incident light. The grating acts as a dispersive element. Because of this, diffraction gratings are commonly used in monochromators and spectrometers, but other applications are also possible such as optical encoders for high-precision motion control and wavefront measurement.
A very large reflecting diffraction grating
An incandescent light bulb viewed through a diffractive effects filter.
A blazed diffraction grating reflecting only the green portion of the spectrum from a room's fluorescent lighting
A helical fluorescent lamp photographed in a blazed reflection-diffraction grating, showing the various spectral lines produced by the lamp.
Optics is the branch of physics that studies the behaviour and properties of light, including its interactions with matter and the construction of instruments that use or detect it. Optics usually describes the behaviour of visible, ultraviolet, and infrared light. Light is a type of electromagnetic radiation, and other forms of electromagnetic radiation such as X-rays, microwaves, and radio waves exhibit similar properties.
A researcher working on an optical system
The Nimrud lens
Reproduction of a page of Ibn Sahl's manuscript showing his knowledge of the law of refraction
The first treatise about optics by Johannes Kepler, Ad Vitellionem paralipomena quibus astronomiae pars optica traditur (1604), generally recognized as the foundation of modern optics.