Explainer
How stars form, shine and die
Stars are balls of hot gas, mostly hydrogen, that form when dense clumps in cold molecular clouds collapse and their cores grow hot enough to fuse hydrogen into helium.[1][2] A star's mass decides its fate: stars below about eight solar masses end as white dwarfs, while heavier ones explode as supernovae and leave neutron stars or black holes.[3][4][5]
Stars are giant balls of hot gas, mostly hydrogen with some helium and small amounts of other elements. Their lives last anywhere from a few million to trillions of years.[1] The Milky Way alone holds more than 100 billion of them, and astronomers estimate the universe could contain up to a septillion, a one followed by 24 zeros.[6] This page follows a star from birth to death and explains why its mass decides almost everything.
Birth in a molecular cloud
Stars are born in huge, cold clouds of gas and dust. Some of these clouds hold millions of times the Sun’s mass.[7] Gravity pulls the densest clumps together, and they heat up into baby stars called protostars.[8] After millions of years the centre gets hot enough to squeeze hydrogen into helium. That nuclear fusion releases energy, which stops the star from shrinking any further.[2]
Molecular clouds range from 1,000 to 10 million solar masses and can span hundreds of light-years.[7] When a clump’s gravity wins, it collapses and heats into a protostar, and clouds full of newly formed clusters are called stellar nurseries.[8] After millions of years, core pressure and temperature fuse hydrogen nuclei into helium, and the released energy halts further contraction.[2]
The main sequence: a long, stable middle age
A star steadily fusing hydrogen into helium in its core is called a main sequence star. This is the longest phase of a star’s life, and main sequence stars make up around 90% of the stars in the universe.[9] They range from about a tenth to 200 times the Sun’s mass.[10]
Mass sets the pace. Low-mass stars burn longer, dimmer and cooler, while massive stars must burn fuel faster to hold up their own weight. Some low-mass stars will shine for trillions of years, longer than the universe has existed so far, while some massive stars last only a few million.[11] Red dwarfs, the smallest main sequence stars, make up around 75% of the Milky Way’s stars, and scientists think some low-mass red dwarfs could live up to about 14 trillion years.[12] Brown dwarfs, generally 13 to 80 times Jupiter’s mass, are not technically stars: they are more massive than planets, but those that form like stars never gain enough mass to fuse on a main sequence star’s scale.[13]
The Sun is roughly midway through its main sequence stage and is expected to become a red giant in about 5 billion years.[14]
How low-mass stars die
When a main sequence star of less than about eight solar masses runs out of hydrogen in its core, the core contracts and heats up until helium starts fusing into carbon. The outer layers swell, and the star becomes a red giant.[3] Eventually those outer layers drift away as a glowing cloud called a planetary nebula. What remains is the exposed core, a white dwarf about the size of Earth that slowly cools over billions of years.[4] White dwarfs are extraordinarily dense: NASA says a teaspoon of white dwarf material would weigh more than a pickup truck.[15]
How massive stars die
In the largest stars, fusion continues through heavier elements until silicon fuses into iron. Fusing iron would absorb energy rather than release it, so once the core is iron the star runs out of usable fuel within days.[16]
The iron core then collapses, rebounds and sends a shock wave through the star, which explodes as a supernova. The core survives as an extremely dense remnant: a neutron star or a black hole.[5] NASA puts the dividing line roughly at 20 solar masses. Stars of about 8 to 20 solar masses leave neutron stars, while heavier ones form stellar-mass black holes.[17] Those remnants have their own pages: neutron stars and pulsars and black holes.
Stars make the next generation
Material thrown out by supernovae and other stellar events enriches future molecular clouds and is built into the next generation of stars.[18] Collisions of neutron stars add more: in 2017, telescopes found freshly made gold and platinum in the debris of one such merger.[19][20] The very first stars formed in dense clumps of gas after some 200 million starless years in the early universe.[21] NASA says they were 30 to 300 times the Sun’s mass and millions of times brighter.[22] That early history is told in the Big Bang explained.
Read next
Next in the crash course
Neutron stars and pulsars explained
What neutron stars are, why pulsars blink like lighthouses, what magnetars are, and how colliding neutron stars make gold and gravitational waves.
Questions readers ask
How are stars born?
In cold clouds of gas and dust called molecular clouds. Dense clumps collapse under gravity and heat up into protostars. After millions of years the core gets hot and dense enough to fuse hydrogen into helium, and the energy released stops the collapse.[7][8][2]
Why do massive stars live shorter lives?
A star's mass sets how fast it burns its fuel. Massive stars burn faster to hold themselves up, so some live only a few million years, while some low-mass stars will shine for trillions of years.[11]
What will happen to the Sun?
The Sun is roughly midway through its main sequence stage and is expected to become a red giant in about 5 billion years. Like other low-mass stars, it should eventually shed its outer layers as a planetary nebula and leave a white dwarf.[14][4]
What is a supernova?
In the most massive stars, fusion continues until the core is iron, which cannot release energy by fusing. The core collapses and rebounds, sending a shock wave through the star that blows it apart. The core survives as a neutron star or a black hole.[16][5]
What is the most common type of star?
Red dwarfs, the smallest and coolest main sequence stars, make up around 75% of the stars in the Milky Way.[12]
Is a brown dwarf a star?
Not technically. Brown dwarfs, generally 13 to 80 times Jupiter's mass, are more massive than planets, but those that form like stars never gain enough mass to fuse on the scale of a main sequence star.[13]
Sources
· 22 claims from 2 publishers
Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.
- [1]
Stars are giant balls of hot gas, mostly hydrogen with some helium and small amounts of other elements, with life cycles from a few million to trillions of years. confirmedas of 2026-11-07
- Stars · NASA · Primary source (retrieved 2026-11-07)
- [2]
- [3]
When a main sequence star of less than about eight solar masses runs out of hydrogen in its core, the core contracts and heats until helium fuses into carbon, and the outer layers swell into a red giant. confirmedas of 2026-11-07
- Stars: Types · NASA · Primary source (retrieved 2026-11-07)
- Stars: Types · NASA · Primary source (retrieved 2026-11-07)
- Stars: Types · NASA · Primary source (retrieved 2026-11-07)
- [4]
- [5]
- [6]
The Milky Way contains more than 100 billion stars, and astronomers estimate the universe could hold up to a septillion (10^24). confirmedas of 2026-11-07
- Stars · NASA · Primary source (retrieved 2026-11-07)
- [7]
- [8]
Gravity makes dense clumps in a molecular cloud collapse and heat up, producing a protostar; groups of newly formed stars are called stellar clusters and the clouds that host them stellar nurseries. confirmedas of 2026-11-07
- [9]
Stars steadily fusing hydrogen into helium are called main sequence stars; this is the longest phase of a star's life, and main sequence stars make up around 90% of the universe's stars. confirmedas of 2026-11-07
- Stars · NASA · Primary source (retrieved 2026-11-07)
- Stars · NASA · Primary source (retrieved 2026-11-07)
- Stars: Types · NASA · Primary source (retrieved 2026-11-07)
- [10]
Main sequence stars range from about a tenth to 200 times the Sun's mass and live for millions to billions of years. confirmedas of 2026-11-07
- Stars: Types · NASA · Primary source (retrieved 2026-11-07)
- [11]
A star's mass sets how fast it uses its fuel, and more massive stars must burn fuel faster to keep from collapsing under their own weight; some low-mass stars will shine for trillions of years, while some massive stars live only a few million. confirmedas of 2026-11-07
- [12]
Red dwarfs, the smallest and coolest main sequence stars, make up around 75% of the Milky Way's stars, and scientists think some low-mass red dwarfs could live up to about 14 trillion years. confirmedas of 2026-11-07
- Stars: Types · NASA · Primary source (retrieved 2026-11-07)
- Stars: Types · NASA · Primary source (retrieved 2026-11-07)
- [13]
Brown dwarfs, generally 13 to 80 times Jupiter's mass, are not technically stars; they are more massive than planets, and those that form like stars never gain enough mass to fuse on a main-sequence star's scale. confirmedas of 2026-11-07
- Stars: Types · NASA · Primary source (retrieved 2026-11-07)
- Stars: Types · NASA · Primary source (retrieved 2026-11-07)
- Stars: Types · NASA · Primary source (retrieved 2026-11-07)
- Stars: Types · NASA · Primary source (retrieved 2026-11-07)
- [14]
The Sun is roughly midway through its main sequence stage and is expected to become a red giant in about 5 billion years. confirmedas of 2026-11-07· forecast
- Stars · NASA · Primary source (retrieved 2026-11-07)
- Stars: Types · NASA · Primary source (retrieved 2026-11-07)
- [15]
A white dwarf is usually Earth-sized but hundreds of thousands of times more massive; a teaspoon of its material would weigh more than a pickup truck. confirmedas of 2026-11-07
- Stars: Types · NASA · Primary source (retrieved 2026-11-07)
- [16]
In the most massive stars fusion continues through heavier elements until silicon fuses into iron; fusing iron would consume energy rather than release it, so the star runs out of fuel within days. confirmedas of 2026-11-07
- [17]
NASA says stars of about 8 to 20 solar masses leave neutron stars, while heavier stars produce stellar-mass black holes. confirmedas of 2026-11-07
- Stars: Types · NASA · Primary source (retrieved 2026-11-07)
- [18]
Material thrown out by supernovae and other stellar events enriches future molecular clouds and becomes part of the next generation of stars. confirmedas of 2026-11-07
- Stars · NASA · Primary source (retrieved 2026-11-07)
- [19]
On August 17, 2017, LIGO and Virgo detected gravitational waves from two neutron stars of about 1.1 to 1.6 solar masses colliding about 130 million light-years away, the first cosmic event seen in both gravitational waves and light. confirmedas of 2026-11-07
- LIGO and Virgo make first detection of gravitational waves produced by colliding neutron stars · LIGO Laboratory (Caltech) · Primary source · 2017-10-16 (retrieved 2026-11-07)
- LIGO and Virgo make first detection of gravitational waves produced by colliding neutron stars · LIGO Laboratory (Caltech) · Primary source · 2017-10-16 (retrieved 2026-11-07)
- LIGO and Virgo make first detection of gravitational waves produced by colliding neutron stars · LIGO Laboratory (Caltech) · Primary source · 2017-10-16 (retrieved 2026-11-07)
- LIGO and Virgo make first detection of gravitational waves produced by colliding neutron stars · LIGO Laboratory (Caltech) · Primary source · 2017-10-16 (retrieved 2026-11-07)
- [20]
Telescopes found freshly made gold and platinum in the GW170817 debris, helping solve where about half of all elements heavier than iron are made. confirmedas of 2026-11-07
- LIGO and Virgo make first detection of gravitational waves produced by colliding neutron stars · LIGO Laboratory (Caltech) · Primary source · 2017-10-16 (retrieved 2026-11-07)
- [21]
For the next 200 million years there were no stars; the first stars then formed in dense gas clumps and, over several hundred million years, gathered into the first galaxies. confirmedas of 2026-11-07
- Universe: Overview · NASA · Primary source (retrieved 2026-11-07)
- Universe: Overview · NASA · Primary source (retrieved 2026-11-07)
- Universe: Overview · NASA · Primary source (retrieved 2026-11-07)
- [22]
According to NASA, the first stars were 30 to 300 times more massive than the Sun and millions of times brighter. confirmedas of 2026-11-07
- Universe: Overview · NASA · Primary source (retrieved 2026-11-07)
Revision history (1)
- Page created.
Created Nov 7, 2026. Last reviewed by an editor on Nov 8, 2026. Next scheduled review: May 7, 2027.
Cite this page
"How stars form, shine and die." ContentLora, updated Nov 7, 2026. https://contentlora.com/explain/how-stars-form-and-die
Spotted an error? Suggest a correction or emailcorrections@contentlora.com.