A star spends its life in a contest between two forces. Gravity pulls its gas inward. Pressure pushes back—first from heat, then from nuclear fusion in the core. For most of the star’s life those forces stay in balance. Astronomers call that balance hydrostatic equilibrium.
When the fuel runs out, the balance breaks. What happens next depends almost entirely on how much mass the star had at birth. Light stars fade. Heavy stars explode. The heaviest remnants collapse into black holes.
That outline is the standard picture used by NASA and professional astronomers. It comes from nuclear physics, from star clusters of known ages, and from the objects dying stars leave behind.
What counts as a star
Not every glowing ball of gas is a star. Below about 0.08 times the Sun’s mass—roughly 80 times the mass of Jupiter—the core never gets hot enough to keep fusing ordinary hydrogen. These objects are brown dwarfs. Some can fuse deuterium. The heavier ones can fuse lithium. None of them settle into the long hydrogen-burning phase that defines a true star. NASA describes brown dwarfs as larger than planets and smaller than stars, usually between about 13 and 80 Jupiter masses.
There is an upper limit too. Stars much above about 100 to 150 solar masses become unstable and blow off extra material. Most stars are smaller than the Sun. The rare giants dominate the light of young clusters and make most of the heavy elements, but they are not the typical case.
Birth in a cold cloud
Stars form inside giant molecular clouds: cold concentrations of hydrogen gas and dust. A dense clump can start collapsing under its own gravity, sometimes after a nearby shock or a collision inside the cloud. As it shrinks, it spins, heats up, and may fire outflows. At this stage it is a protostar. It shines from the heat of contraction, not yet from fusion.
The real change comes when the core reaches about 10 million kelvin (about 15 million degrees Celsius). At that point hydrogen nuclei—protons—can fuse into helium. The helium nucleus weighs a little less than the pieces that made it. That missing mass appears as energy.
Fusion then supplies the outward pressure that stops the collapse. A star that is steadily turning hydrogen into helium in its core is called a main-sequence star. About nine-tenths of catalogued stars are in this phase. The Sun is one of them. It is about 4.6 billion years old and should stay on the main sequence for about another five billion years.
A map of stellar types
In the early twentieth century, Ejnar Hertzsprung and Henry Norris Russell showed that stars are not scattered at random when brightness is plotted against temperature. Most fall on a diagonal band from hot and bright to cool and faint. That band is the main sequence.
Spectral types run, hot to cool: O, B, A, F, G, K, and M. The Sun is a G2V star, with a surface temperature near 5,800 kelvin. O and B stars are rare, blue, and short-lived. M dwarfs are common, red, and extremely long-lived.
Giants and supergiants sit off the main sequence. They look bright for their temperature because they are large. White dwarfs sit off it too. They look faint for their temperature because they are small.
Stars in a cluster are roughly the same age. The heaviest ones burn out first, so the point where the main sequence stops shows how old the cluster is.
How long a star can shine
Small stars live a long time. Large stars live fast. A heavier star has a hotter, denser core, so it burns fuel harder and shines much brighter. It also runs out sooner.
A star like the Sun lasts about 10 billion years on the main sequence. A star of several solar masses may last only tens of millions of years. The most massive stars can leave the main sequence after a few million years. The faintest red dwarfs could, in principle, burn for trillions of years—longer than the universe has existed. No red dwarf has yet died of old age.
The Sun turns hydrogen into helium mainly through the proton-proton chain. Hotter, heavier stars lean on the carbon-nitrogen-oxygen cycle, using those elements as helpers. Either way, four protons become one helium nucleus. Neutrinos, positrons, and gamma rays carry off the extra energy.
While that lasts, the star is a stable fusion engine. Later generations of stars form from gas that earlier stars enriched. That is why planets—and living chemistry—contain carbon, oxygen, silicon, and iron that a pure hydrogen cloud could not have made.
When the core runs out of hydrogen
Core hydrogen is finite. When it is gone, energy production in the center drops. Gravity gains for a while, and the core shrinks. That shrinking heats the core and a shell of hydrogen around it. Fusion in the shell can puff up the outer layers. The star becomes a red giant, or a red supergiant if it is massive. The surface cools and expands even as the interior grows hotter.
In a star like the Sun, helium in the squeezed core later ignites and fuses into carbon and oxygen. In lower-mass stars that ignition can start suddenly—a helium flash—because the core is in a degenerate state. After the core helium is gone, hydrogen and helium burn in shells around a dead carbon-oxygen center. That later, brighter giant phase is called the asymptotic giant branch. In this stage the star can pulse and throw off gas in strong winds.
The shed gas, lit by the hot core, becomes a planetary nebula. The name is a leftover from the nineteenth century. It has nothing to do with planets. The glowing shell lasts only tens of thousands of years. The core left behind is a white dwarf.
A white dwarf is about the size of Earth and weighs on the order of the Sun. It is no longer fusing in a steady way. It is held up by electron degeneracy pressure: a quantum effect that appears when electrons are packed too tightly. The density is extreme. NASA’s usual comparison is that a teaspoon of white-dwarf material would weigh more than a pickup truck. Over billions of years the white dwarf simply cools. In the far future it would become a black dwarf, a cold cinder. The universe is not old enough for any of those to exist yet.
White dwarfs also have a mass limit. Subrahmanyan Chandrasekhar showed that electron degeneracy cannot support one above about 1.4 solar masses. If a white dwarf orbits a companion star, it can pull material off that star. Add enough mass, and it can explode as a Type Ia supernova.That blast is thermonuclear. It is not the same event as the core-collapse death of a massive star, and it leaves no compact remnant.
The Sun follows the quiet path, with a few details still uncertain. In about five billion years it will leave the main sequence. As a red giant it will swell enormously. Mercury and Venus are expected to be engulfed. Whether Earth is swallowed depends on how much mass the Sun loses and how Earth’s orbit changes. Models disagree. Earth will not stay habitable either way. After the giant phases, the Sun should leave a carbon-oxygen white dwarf with a little more than half its present mass.
How massive stars die
Stars born at about eight times the Sun’s mass or more do not end as white dwarfs. They can fuse heavier and heavier nuclei: helium to carbon, then neon, oxygen, silicon. Each stage is shorter than the last. The chain stops at iron. Fusing iron costs energy instead of releasing it. With no outward fusion source, the iron core collapses in seconds.
The collapse crushes protons and electrons into neutrons and releases a flood of neutrinos. The core rebounds. A shock wave rips through the star. That is a core-collapse supernova. If the star still has its hydrogen envelope, the spectrum is Type II. If winds or a companion already stripped the hydrogen—and sometimes the helium—the same engine can look like Type Ib or Type Ic. For a short time the exploding star can outshine its galaxy.
Almost all of the energy is invisible. Forming a neutron star releases on the order of 10 million trillion trillion trillion joules. About 99 percent of that energy leaves as neutrinos in a burst lasting several seconds. Only about one percent becomes flying debris and visible light. Neutrinos from Supernova 1987A showed that this accounting is not just theory.
What remains depends on the leftover core. If that core is not too massive, neutron degeneracy pressure stops the collapse. The result is a neutron star: about 20 kilometers across, with more than a solar mass packed into that space. Densities reach nuclear density. A teaspoon of the material is often described as weighing about a billion tons. Some neutron stars spin and sweep beams of radiation across Earth. Those are pulsars. A subset with extreme magnetic fields are magnetars.
If the leftover core is still more massive—often linked to stars born around 20 solar masses or more, though mass loss, spin, and composition change the cutoff—neutron degeneracy fails too. Gravity wins. The remnant is a stellar-mass black hole, a region light cannot escape. These are not the same objects as the supermassive black holes in galactic centers.
Not every massive core makes a bright supernova. Some stars may collapse into black holes with little display. Very massive stars can also hit pair instability, when high-energy photons turn into electron-positron pairs and the supporting pressure weakens. That rare path can destroy the star outright or leave a black hole. It is not the normal end for an eight-solar-mass star.
Where the heavy elements come from
Ordinary fusion inside stars builds elements up to the iron group. Many nuclei heavier than iron need neutron capture.
In the slow process, or s-process, neutrons are added over long times in aging giant stars, with room for decays between captures. In the rapid process, or r-process, neutrons arrive so fast that very neutron-rich nuclei form before they can decay. That needs an extreme environment.
Core-collapse supernovae have long been candidates. Neutron-star mergers are now a confirmed site. In 2017, the gravitational-wave event GW170817 was followed by a kilonova, a glow powered by the decay of newly made heavy nuclei. That does not prove mergers are the only factory in galactic history. Other rare explosions may add some of the total. The simple point is enough: dying stars, and collisions of their remnants, are why gold, platinum, and uranium exist.
What is settled, and what is not
The broad map is not in serious dispute. Cloud becomes protostar. Protostar becomes a main-sequence star. Lower-mass stars swell, shed their outer layers, and leave white dwarfs. Higher-mass stars collapse and leave neutron stars or black holes.
The fine print is still research. How much mass a giant loses changes the remnant. Spin and magnetic fields change the shape of an explosion. A companion star can strip an envelope or dump extra mass and produce an ending a lone star would not reach. The exact maximum mass of a neutron star depends on how matter behaves at nuclear density, which is still not fully known.
None of that changes the main rule. Birth mass is the best predictor of a star’s life. Light stars live long and die small. Heavy stars live fast, make the heavier elements, and die in explosions that seed the next clouds.
The Sun will not explode as a supernova. It is not massive enough. For a star like ours, the end is a long fade, not a blast.
SOURCES: NASA Science, ESA/Hubble materials via NASA, Australia Telescope National Facility, Astronomy magazine, academic reviews of core-collapse supernovae and r-process nucleosynthesis, LIGO-Virgo reports on GW170817