When there is a need to separate light of different wavelengths with high resolution, then a diffraction grating is most often the tool of choice. This “super prism” aspect of the diffraction grating leads to application for measuring atomic spectra in both laboratory instruments and telescopes. A large number of parallel, closely spaced slits constitutes a diffraction grating. The condition for maximum intensity is the same as that for the double slit or multiple slits, but with a large number of slits the intensity maximum is very sharp and narrow, providing the high resolution for spectroscopic applications. The peak intensities are also much higher for the grating than for the double slit.