diffraction grating

Transmitting or reflecting optical element with regularly spaced scribes or grooves on its surface, designed to use phase-dependent constructive interference to separate light by dispersing it at wavelength-dependent angles.