Diffraction grating is an optical component with a periodic structure that splits and diffracts light into several beams travelling in different direction. Used for demonstration of the principle of the diffraction grating and the way in which its properties are dependent upon the number of lines per unit length.