Spectral analysis is the identification of the chemical elements contained in a source (a flame, a lamp, a star) by matching the lines of its spectrum against the laboratory catalogs of the elements.
Examples
Example 2.20 (The Sun’s recipe)
The solar spectrum carries thousands of dark lines, mapped by Fraunhofer in 1814. Among the strongest: , , and — the full hydrogen fingerprint — together with the sodium line at and a calcium pair at and . The Sun’s atmosphere contains hydrogen above all, plus traces of elements familiar from Earth’s rocks. Modern measurements refine the headline: the Sun is roughly three quarters hydrogen by mass.