Born from a collapsing cloud
Stars form when a region of a giant molecular cloud — a vast, cold reservoir of hydrogen gas spanning tens to hundreds of light-years — collapses under its own gravity. Collapse begins once a clump's mass exceeds the Jeans mass, roughly MJ ∝ (T/ρ)1/2·T; colder, denser cores collapse most easily, which is why new stars form in a cloud's coldest pockets. As a clump contracts it heats up, becoming a protostar wrapped in an accretion disc and launching bipolar jets. When the core finally reaches about 10 million kelvin, hydrogen fusion ignites and the star joins the main sequence — a process that takes roughly 10⁴–10⁶ years for a solar-mass star. Below about 0.08 solar masses, core temperature never gets high enough to sustain fusion, and the result is a brown dwarf instead of a true star.
The main sequence: fusion balancing gravity
A star spends most of its life in hydrostatic equilibrium — the outward pressure from nuclear fusion exactly balancing the inward pull of gravity. Stars at or below the Sun's mass fuse hydrogen mainly via the proton-proton chain (4 ¹H → ⁴He + 2e⁺ + 2νe + 2γ, releasing ≈26.7 MeV per reaction — the Sun converts about 600 million tonnes of hydrogen to helium every second). More massive stars, with hotter cores, run the catalytic CNO cycle instead, which is far more temperature-sensitive and makes hot, massive stars disproportionately luminous. Because luminosity scales roughly as L ∝ M3.5, a 10-solar-mass star burns about 3,000 times brighter than the Sun and exhausts its fuel about 300 times faster — the Sun's ~10-billion-year main-sequence life shrinks to a few million years for an O-type star.
Reading the Hertzsprung-Russell diagram
Plotting stars by surface temperature against luminosity, as Hertzsprung and Russell independently did around 1911–1913, reveals that the overwhelming majority fall on a diagonal band — the main sequence — with giants and supergiants in the upper right and burnt-out white dwarfs in the lower left. The spectral sequence from hottest to coolest — O, B, A, F, G, K, M — places the Sun as a middling G-type star at 5,778 K. For a cluster of stars all born together, the point where the main sequence "turns off" toward the giant branch calibrates the cluster's age, since more massive stars leave the main sequence first.
Giant phase, then two very different endings
Once core hydrogen is exhausted, the core contracts while the envelope expands into a red giant — the Sun will eventually swell to 100–200 times its current radius. For stars below roughly 8 solar masses, carbon fusion never ignites; the envelope is shed as a glowing planetary nebula, exposing the hot core as a white dwarf supported by electron degeneracy pressure. More massive stars instead build an onion-shell structure of progressively heavier burning around an inert iron core. Because fusing iron absorbs energy rather than releasing it, once that core exceeds the Chandrasekhar mass (~1.4 M☉), electron degeneracy can no longer hold it up. The core collapses in under a second and rebounds as a shockwave — a core-collapse supernova — leaving behind a neutron star (1.4–3 M☉, supported by neutron degeneracy pressure) or, above roughly 3 solar masses (the Tolman-Oppenheimer-Volkoff limit), a stellar-mass black hole.
Building the periodic table
The Big Bang produced only hydrogen, helium and trace lithium — every heavier element was forged inside stars. Carbon, nitrogen, oxygen and elements up through iron come from successive fusion stages in stellar cores; elements up to bismuth form via slow neutron capture (the s-process) in AGB stars; and everything heavier than iron, including gold, platinum and uranium, requires the r-process — rapid neutron capture in core-collapse supernovae and, as LIGO's 2017 detection of merging neutron stars (GW170817) confirmed, in neutron star mergers. Carbon itself exists only because of a lucky nuclear resonance in the triple-alpha process, predicted by Fred Hoyle from the simple observation that carbon-based life exists — one of physics' earliest anthropic arguments.
Frequently asked questions
Why do more massive stars live shorter lives?
Luminosity scales roughly as L ∝ M^3.5, so a star 10 times the Sun's mass is about 3,000 times more luminous — and burns through its fuel about 3,000 times faster relative to its 10x fuel supply. The result is a lifetime roughly 1/300th of the Sun's ~10-billion-year main-sequence life. A 30-solar-mass O-type star lives only a few million years before exhausting its core hydrogen.
What decides whether a dying star becomes a white dwarf, neutron star or black hole?
The mass of the collapsing core. Below the Chandrasekhar limit (~1.4 solar masses), electron degeneracy pressure halts the collapse and the result is a white dwarf. Between roughly 1.4 and 3 solar masses, electrons and protons are forced together into neutrons and neutron degeneracy pressure supports a neutron star. Above about 3 solar masses (the Tolman-Oppenheimer-Volkoff limit), no known force can stop the collapse and a stellar-mass black hole forms.
Where do elements heavier than iron come from?
Fusing iron absorbs energy rather than releasing it, so stars cannot build heavier elements through ordinary fusion. Elements up to bismuth form mainly through the slow neutron-capture s-process in AGB stars, while elements above iron — including gold, platinum and uranium — are built by the rapid neutron-capture r-process in core-collapse supernovae and, confirmed by the 2017 gravitational-wave event GW170817, in neutron star mergers.
Try it live
Adjust stellar mass in Stellar Evolution — From Nebula to Supernova and watch the full life cycle play out — from molecular cloud to main sequence to final remnant — entirely in your browser.
▶ Open Stellar Evolution simulation