Astronomy
Spectral Lines
Quick fact
Every chemical element—hydrogen, helium, even sodium—produces its own unique pattern of spectral lines, so astronomers can tell what a star is made of from millions of light-years away.
Why this is interesting
You've seen a rainbow—white light split into colors. But look closer: some colors are missing or extra bright. Why would a rainbow have gaps?
Read the full explanation
Understanding Spectral Lines
Imagine each atom as a tiny musical instrument that can only play certain notes—specific frequencies of light. When light passes through a gas, atoms absorb only the exact 'notes' they can play, leaving dark lines (absorption lines). Conversely, when atoms are excited, they emit those same 'notes' as bright lines (emission lines). By matching the pattern of lines to known elements, we identify what substances are present. The whole process is called spectroscopy: splitting light by wavelength (like a prism) and reading the resulting barcode.
A deeper explanation
Spectral lines arise from quantum mechanics: electrons in atoms occupy discrete energy levels. When an electron jumps from a lower to a higher energy level, it must absorb a photon of exactly the right energy (wavelength). That absorption creates a dark line in a continuous spectrum. Conversely, when an electron falls from a higher to a lower level, it emits a photon of that same energy, producing a bright emission line. Each element has a unique set of allowed energy levels, hence a unique line pattern. These patterns are so precise that they reveal not only elemental composition but also motion (via Doppler shifts—lines shift toward blue if approaching, red if receding), temperature, pressure, and magnetic fields. From a single star's spectrum, we can deduce its chemical makeup, speed, and even the presence of exoplanets.