Astronomy 123 Basics
Each chemical element produces its own unique set of spectral lines. These spectral lines serve as a "fingerprint" - revealing the elements from which they are emitted. A spectrograph is an optical device that records a spectrum.
Modern Device
The emission spectra of some well known elements.
The visible spectrum of the Sun.
The emission and absorption lines of Sodium.