Birth: from molecular cloud to protostar
Stars are born when a region of a giant molecular cloud — a vast, cold cloud of hydrogen gas and dust spanning tens to hundreds of light-years — collapses under its own gravity once its mass exceeds the Jeans mass. As it collapses it fragments into clumps that heat up as gravitational energy converts to thermal energy, forming a protostar wrapped in gas and dust, invisible at optical wavelengths. When the core temperature reaches about 10 million kelvin, hydrogen fusion ignites and the star joins the main sequence — a process that takes 10⁴ to 10⁶ years for a solar-mass star. Below about 0.08 solar masses, the core never gets hot enough to fuse hydrogen at all, and the object becomes a brown dwarf instead.
The main sequence: fusion vs. gravity in balance
A star spends most of its life in hydrostatic equilibrium, where fusion pressure exactly balances gravity's inward pull. Sun-like stars fuse hydrogen mainly via the proton-proton chain, releasing about 26.7 MeV per reaction — the Sun converts roughly 600 million tonnes of hydrogen to helium every second. More massive stars run the faster CNO cycle instead. Luminosity scales roughly as mass3.5–4, so a star ten times the Sun's mass is about 3,000 times more luminous — and burns through its fuel about 3,000 times faster, cutting its main-sequence lifetime to roughly 1/300th of the Sun's ~10 billion years.
4 ¹H → ⁴He + 2e⁺ + 2ν_e + 2γ ΔE ≈ 26.7 MeV Mass-luminosity relation: L ∝ M^3.5-4 O-type star (>16 M☉): lifetime ~3-10 Myr → black hole G-type (Sun, ~1 M☉): lifetime ~7-12 Gyr → white dwarf
The Hertzsprung-Russell diagram
In 1911–1913, Ejnar Hertzsprung and Henry Norris Russell independently discovered that plotting stars by surface temperature against luminosity produces a strikingly non-random pattern — most stars fall on a diagonal band, the main sequence. Giants and supergiants sit in the upper right (large, cool, luminous — stars that have expanded off the main sequence), while white dwarfs sit lower left (small, hot, faint — burned-out cores). Our Sun is a G-type star with a surface temperature of about 5,778 K.
Death: three different endings
When a low-to-intermediate mass star exhausts its core hydrogen, it swells into a red giant — the Sun will expand to 100–200 times its current radius in about 5 billion years. Stars below roughly 8 solar masses never ignite carbon fusion; instead they shed their envelope as a planetary nebula, exposing a white dwarf supported by electron degeneracy pressure, capped at the 1.4-solar-mass Chandrasekhar limit. Stars above about 8 solar masses develop an onion-shell structure of successively lighter elements around an inert iron core; once that core exceeds the Chandrasekhar mass it collapses in under a second and rebounds as a core-collapse supernova, leaving behind a neutron star (up to the ~3-solar-mass Tolman-Oppenheimer-Volkoff limit, density 4×10¹⁷ kg/m³) or, above that, a stellar-mass black hole. Rapidly rotating, strongly magnetised neutron stars are detected on Earth as pulsars — the first, PSR B1919+21, was found in 1967.
Nucleosynthesis: stars built the periodic table
The Big Bang produced only hydrogen, helium and trace lithium — every heavier element was made in stars. Carbon, oxygen and elements up to iron come from successive fusion stages; elements up to bismuth form via slow neutron capture (the s-process) in AGB stars; and elements heavier than iron — gold, platinum, uranium — form via rapid neutron capture (the r-process) in core-collapse supernovae and, confirmed in 2017 by the LIGO detection GW170817, in neutron star mergers. The gold in your jewellery was most likely forged in one of those mergers.
Frequently asked questions
Why do more massive stars live shorter lives?
Luminosity scales roughly as mass to the 3.5-4th power, so a star ten times the Sun's mass is about 3,000 times more luminous — but it also burns through its fuel about 3,000 times faster, giving it a lifetime roughly 1/300th of the Sun's ~10 billion years. A 30-solar-mass star lives only a few million years.
What determines whether a dying star becomes a white dwarf, neutron star or black hole?
It depends on the collapsing core's mass. Below about 1.4 solar masses (the Chandrasekhar limit), electron degeneracy pressure holds up a white dwarf. Between roughly 1.4 and 3 solar masses, neutron degeneracy pressure supports a neutron star. Above about 3 solar masses, even that is insufficient and the core collapses into a black hole.
Where did the heavy elements in my body come from?
Carbon, oxygen and iron were forged by successive fusion stages inside stars, elements up to bismuth by slow neutron capture in AGB stars, and elements heavier than iron — including gold, platinum and uranium — by rapid neutron capture in core-collapse supernovae and neutron star mergers, confirmed by the 2017 LIGO detection GW170817.
Try it live
Everything above runs in your browser — open Star Evolution, drag the mass slider from 0.5 to 20 solar masses, and scrub the age timeline to watch a star's entire life play out on a live Hertzsprung-Russell diagram. Nothing is installed, nothing is uploaded.
▶ Open Star Evolution simulation