Diffraction Grating and Optical Spectroscopy