How do we know what stars are made of?
We split their light into a rainbow. Each chemical element absorbs and gives off light only at its own colors, so dark lines in a star's rainbow work like a barcode.
Starlight rainbows. A prism or grating spreads light into a spectrum. In 1814, Joseph von Fraunhofer noticed hundreds of thin dark lines crossing the Sun's spectrum and mapped them carefully.
Chemical barcodes. In 1859, Gustav Kirchhoff and Robert Bunsen showed that each element makes its own pattern of lines. Matching the Sun's lines revealed sodium, iron and many more.
Found in the Sun first. In 1868, astronomers spotted a yellow line in sunlight that matched no known element. They named it helium, after the Greek word for Sun. It was found on Earth in 1895.
Key words: spectrum

Sources: American Physical Society, Linda Hall Library, NASA and Science History Institute. How we check our facts
