Answer:
light strikes the grooves → different wavelengths of light bend at different angles → diffracted wavelength reach the eyes → the eyes see different colors
Step-by-step explanation:
A light is a combination of colors which can be separated appropriately by the use of diffraction grating. Diffraction grating is an optical device that splits and diffracts light into several beams and colors with respect to their wavelength. The size of the grooves and wavelength determine the direction of dispersion.