Description
The light is divided into three basic colors, which we see as rainbow rays. In optics, a diffraction grating is an optical component with a periodic structure that splits and diffracts light into several beams travelling in different directions so that the grating acts as the dispersive element.