Astronomy
Spectral Line Formation
Quick fact
Every element produces a unique pattern of spectral lines – like a fingerprint – so a single star's spectrum can reveal dozens of elements at once.
Why this is interesting
Have you ever wondered how astronomers know what stars are made of, millions of light-years away, without ever touching them?
Read the full explanation
Understanding Spectral Line Formation
Imagine sunlight passing through a prism and splitting into a rainbow. Normally that rainbow is continuous. But when the light passes through a cooler gas (like the outer layers of a star), certain colors go missing, replaced by dark lines. These are absorption lines. Conversely, a hot gas can emit light only at those same missing colors – emission lines. Why? Because each atom has a set of allowed energy levels. An electron can jump from a lower level to a higher one only by absorbing a photon of exactly the right energy (color). Or it can fall down and emit that same color. So each element stamps its own set of colors onto the light.
A deeper explanation
Spectral lines are fundamentally quantum-mechanical. Electrons in atoms occupy discrete energy levels. When a photon's energy matches the gap between two levels, it can be absorbed (exciting the electron) or emitted (when the electron falls). This resonance creates lines at precise wavelengths. In stars, the hot interior produces a continuous spectrum, but the cooler outer atmosphere absorbs specific wavelengths, producing dark absorption lines. Gases in nebulae or the Sun's corona emit at those same wavelengths, giving bright emission lines. By matching observed lines to laboratory measurements, we identify elements. Additionally, slight shifts in line positions (Doppler effect) reveal motion toward or away from us. Thus, spectral line formation is the key that unlocks the universe's chemical and kinematic secrets.