Diffraction can be used to separate different wavelengths of light using a diffraction grating. A diffraction grating can be a series of closely-spaced slits or a mirror with a series of small grooves. Diffraction gratings work because different wavelengths of light will constructively interfere at different angles. Diffraction gratings are used in many analytical chemistry tools, such as a spectrometer.