How Stars Are Made (and How They Die)
How a cloud of gas becomes a star, why some stars end as white dwarfs and others as black holes, and what mass has to do with it.
Every atom heavier than hydrogen — the calcium in your bones, the iron in your blood, the oxygen you’re breathing — was forged inside a star. Stars are the universe’s factories. To understand where the elements come from, we first need to understand how a star is born, how it lives, and how it dies.
A star begins as a cloud
Space isn’t perfectly empty. It’s dotted with vast, cold clouds of gas (mostly hydrogen) and dust, called nebulae. Left alone, a cloud just drifts. But give it a nudge — a passing shockwave, often from a nearby exploding star — and a region begins to clump together under its own gravity.
As the clump collapses, it shrinks and heats up. Squeeze any gas and it gets hotter (the same reason a bike pump warms up). Eventually the centre becomes a hot, glowing ball called a protostar — not yet a true star, because the main event hasn’t started.
Fusion switches on
When the core of a protostar reaches about 15 million °C, something remarkable happens: hydrogen nuclei start slamming together hard enough to fuse into helium, releasing staggering amounts of energy. That’s nuclear fusion, and it’s what makes a star a star.
Now the star is in a tug-of-war that will last most of its life:
- Gravity pulls everything inward.
- The outward push of fusion energy holds it up.
While those two are balanced, the star is stable and shines steadily. This long, stable phase is called the main sequence — our Sun is about halfway through its roughly 10-billion-year run.
Mass decides everything
Here’s the single most important idea in a star’s life: how it dies is set at birth, by its mass. Heavier stars burn hotter and faster, and they end in far more violent ways.
Drag the mass slider below to set a star’s birth mass (measured in solar masses, where the Sun = 1), then press play to walk it through its life. Watch the final fate change as you cross the key thresholds.
Nebula
A giant cold cloud of gas and dust. A nudge — often a nearby supernova — makes a clump start to collapse under its own gravity.
Final fate
White dwarf
lives ~10 billion years
No fusion left — just a slowly cooling ember of carbon and oxygen. This is how our own Sun will end, in about 5 billion years.
The three endings
White dwarf — the quiet ember
A star like the Sun swells into a red giant, puffs its outer layers off into space, and leaves behind its bare core: a white dwarf. It’s about the size of Earth but holds the mass of a star, so it’s fantastically dense — a teaspoon would weigh several tonnes. No fusion, just a slowly cooling ember.
Neutron star — the cosmic lighthouse
A massive star (roughly 8–20 solar masses) fuses heavier and heavier elements until its core is iron. Iron fusion takes energy instead of releasing it, so the core suddenly collapses and the star detonates as a supernova — for a few days outshining an entire galaxy. What’s left is a neutron star: a ball the size of a city, so dense that a sugar-cube of it would weigh about a billion tonnes. Many spin hundreds of times a second, sweeping beams of radiation past us like a lighthouse — we call those pulsars.
Black hole — where gravity wins
If the leftover core is heavy enough (from a star above ~20 solar masses), nothing can hold it up — not even the pressure between neutrons. It collapses to a singularity, a point of essentially infinite density. Around it lies the event horizon: the boundary past which gravity is so strong that not even light can escape. That’s a black hole.
We are made of stars
When massive stars explode, they scatter the elements they forged — carbon, oxygen, iron, gold — across space. Those enriched clouds become the raw material for new stars, new planets, and eventually us. The atoms in your body were cooked inside stars that died before the Sun was born. As Carl Sagan put it, we’re “made of star-stuff.”
Key words
Star vocabulary
Card 1 / 7Front
Check yourself
Stars quick check
Question 1 of 6What force pulls a nebula together to start forming a star?
This is where chemistry meets astronomy: the periodic table you explored earlier was written, element by element, in the hearts of stars.
Finished this lesson?
Mark it done to track your progress. Saved locally, no account needed.