Next time you pass an old sodium streetlamp, notice its peculiar orange-yellow glow. It isn't a blend of colours like sunlight. It's almost a single shade, and that shade is a signature written by sodium atoms themselves. Every element, when heated, glows in its own precise set of colours.
In August 1868, during a total solar eclipse visible from India, the French astronomer Jules Janssen pointed a spectroscope at the glowing gas around the Sun. He saw a bright yellow line close to sodium's, but not quite on it. Soon after, the English astronomer Norman Lockyer studied the same line and concluded it belonged to no known element. He named it helium, after Helios, the Greek Sun.
Dark Lines in Sunlight
In 1814, Joseph von Fraunhofer, a Bavarian glassmaker, passed sunlight through a finely made prism and magnified the rainbow it produced. He expected a smooth band of colour. Instead, he found it crossed by hundreds of thin dark lines, like the gaps in a barcode. He carefully mapped 574 of them, labelling the strongest with letters still used today.
Decades later, Gustav Kirchhoff and Robert Bunsen solved the puzzle. Heating elements in a flame, they found each one glowed with bright lines in particular colours. Crucially, those bright lines sat in exactly the same places as some of Fraunhofer's dark ones. Sodium's yellow pair matched a dark pair he had labelled D. Light from the Sun's hot interior passes through cooler gas in its outer layers, and the atoms there absorb their own colours, leaving shadows in the rainbow.
This is where helium's story fits. During the 1868 eclipse, the Moon blocked the Sun's dazzling disc, so astronomers could see the thin glowing gas at its edge on its own. Instead of shadows, that gas shone with bright lines. One of them, a yellow line now called D3, sat close to sodium's pair but matched nothing in any laboratory on Earth.
TakeawayA missing colour is still information. Sometimes what's absent from a signal tells you more than what's present.
Quantum Fingerprints
Why should an atom care about specific colours? The answer is one of the founding surprises of quantum mechanics. Electrons in an atom cannot hold just any amount of energy. They are restricted to certain allowed energy levels, a bit like standing on the rungs of a ladder rather than anywhere along a smooth ramp.
When an electron drops from a higher rung to a lower one, it releases a single packet of light, a photon, whose energy exactly matches the gap between the rungs. A photon's energy sets its colour, so every jump produces one precise shade. The process also works in reverse: an electron can only absorb a photon carrying exactly the right energy to lift it to another rung. In 1913, Niels Bohr used this idea to explain hydrogen's spectral lines, a pattern that had puzzled physicists for decades.
Here is the beautiful part. The spacing of the rungs depends on how many protons sit in the nucleus and how the electrons arrange themselves around it. Change the element and you change the ladder. Helium, with two protons and two electrons, has a ladder unlike sodium's or hydrogen's, so its colours are its own. Every helium atom, anywhere in the universe, sings the same notes.
TakeawayBecause energy comes in fixed steps, atoms of the same element are perfectly identical. That turns light into a signature that cannot be forged.
Reading the Universe
In 1835, the philosopher Auguste Comte offered an example of knowledge forever beyond our reach: the chemical makeup of the stars. Within a few decades, spectroscopy had proved him wrong. Aim a telescope and spectrograph at a star, and its barcode of lines reveals which elements are present, all from light that may have travelled for thousands of years.
The lines tell us more than ingredients. Their pattern reveals temperature, because hotter atoms have electrons sitting on different rungs, making some lines stronger and others fainter. Motion shows up too. A star moving away has its whole pattern of lines shifted slightly toward red, while one approaching shifts toward blue. In the 1920s, shifted lines in distant galaxies revealed that the universe is expanding. Today, tiny rhythmic wobbles in a star's lines reveal planets tugging on it.
In 1925, Cecilia Payne combined spectral lines with the new quantum theory to show that stars are made overwhelmingly of hydrogen and helium. Many astronomers had assumed stars shared Earth's composition, and her result upended that belief. Helium, the element first spotted in sunlight, turned out to be the second most abundant element in the cosmos.
TakeawayAlmost everything we know about the cosmos arrives as light shaped by quantum rules. Telescopes don't just collect starlight; they read it.
In 1895, the chemist William Ramsay finally detected helium on Earth, released from a uranium mineral called cleveite. When its glow was examined, the same yellow line appeared that Janssen and Lockyer had seen at the edge of the Sun. A quarter century of mystery closed in an instant.
That moment captures something remarkable. The energy ladder inside an atom on a laboratory bench is the same as one in a distant star. Quantum mechanics isn't confined to tiny scales. It's how the universe introduces itself.