The Spectrograph and
Diffraction Gratings

A spectrograph is a refined instrument that produces a spectrum. Although a prism can disperse light according to color, in modern spectrographs it is more common to accomplish the same task by using a diffraction grating.

The diffraction grating works on a completely different principle (diffraction rather than refraction) but it also can separate light spatially according to wavelength. Such spectrographs are a central tool of modern astronomy