diffraction grating

definition: optical device consisting of a surface with many parallel grooves in it
example:
speech part: noun
synonyms: grating

How diffraction grating is being used?