Space · Article
How Stars Form and Evolve: The Science of the Stellar Lifecycle
Published:

In brief
Stars form when gravity collapses cold clouds of gas and dust until a core reaches about 10 million Kelvin, hot enough to ignite hydrogen fusion. From there, a star's mass determines everything else: how long it shines, how it dies, and whether it leaves behind a white dwarf, a neutron star, or a black hole.
Every star now visible in the night sky began the same way: as cold gas drifting inside a molecular cloud. According to NASA Science, these clouds consist mostly of hydrogen and dust, are cold enough for gas to clump together, and give rise to dense pockets where turbulence creates gravitationally unstable knots.
Birth in a molecular cloud
When a dense knot inside a molecular cloud becomes massive enough, it collapses under its own gravity. The European Space Agency's education portal describes nebulae — the giant clouds of gas found in galactic spiral arms — as the raw material for this process, noting that a nebula can be set collapsing by an external trigger such as a nearby supernova blast or a collision between clouds.
The observatory group Las Cumbres Observatory illustrates the scale involved with a modelled molecular cloud about 1.2 light-years across and roughly 10 Kelvin (-263 degrees Celsius) — close to absolute zero. As such a cloud collapses, it begins to spin, flattening into a disk with a dense, warming core at the centre.
From protostar to a true star
That warming core is called a protostar. Per Las Cumbres Observatory, a protostar shines from the heat of gravitational contraction alone — it is not yet a star in the fusion sense. ESA's education materials add that the surrounding protostellar disk keeps feeding mass onto the core through accretion, while the young object's rotating magnetic field drives outflowing winds and jets that gradually clear away leftover gas and dust.
The protostar keeps contracting and heating until its core temperature passes approximately 10 million Kelvin. At that point, hydrogen nuclei can fuse into helium, releasing energy and halting further collapse. NASA Science and ESA both identify this moment — the ignition of sustained hydrogen fusion — as the point a protostar becomes a main-sequence star. According to Las Cumbres Observatory, the length of this pre-main-sequence contraction phase depends sharply on mass: a high-mass protostar can collapse into a star in about one million years, a Sun-like protostar takes roughly 50 million years, and lower-mass protostars can take more than 100 million years.
The main sequence: a long, mass-dependent middle age
Once fusion begins, a star enters the main sequence, the stable phase in which it spends the great majority of its life converting hydrogen into helium in its core. NASA Science states that all stars live out most of their existence this way, but how long that phase lasts depends almost entirely on mass: more massive stars burn through their hydrogen far faster than smaller ones, even though they start with larger fuel reserves.
| Star type | Approx. mass (solar masses) | Approx. main-sequence lifetime | Likely eventual fate |
|---|---|---|---|
| O-type | ~40 | ~1 million years | Supernova; remnant becomes a neutron star or black hole |
| G-type (Sun-like) | ~1.1 | ~8 billion years | Red giant, then white dwarf |
| M-type (red dwarf) | ~0.5 | ~56 billion years | Still on the main sequence; white dwarf stage lies far beyond the current age of the universe |
Those figures, drawn from ESA's stellar-evolution education materials, show why the most massive, hottest stars are also the shortest-lived: an O-type star of about 40 solar masses burns out in roughly a million years, while a red dwarf of about half the Sun's mass can theoretically keep fusing hydrogen for tens of billions of years, longer than the universe has existed.
Death: three different endings
NASA Science and ESA agree that a star's mass also decides how it dies. Sun-like and lower-mass stars swell into red giants as hydrogen in the core runs low, then shed their outer layers as a glowing shell of gas — a planetary nebula — leaving behind a hot, extremely dense core called a white dwarf. ESA describes white dwarfs as reaching densities above 1,000 kilograms per cubic centimetre, which then cool slowly over immense timescales.
Stars with roughly eight or more solar masses meet a far more violent end. ESA's materials describe medium-mass stars (about 8 to 20 solar masses) proceeding through successive fusion stages of carbon, oxygen, neon, silicon and iron before collapsing catastrophically in a Type II supernova, leaving a neutron star behind. NASA Science similarly notes that stars much more massive than the Sun end in supernova explosions that scatter the elements forged inside them back into space.
For the most massive stars, ESA states that if the collapsing remnant core exceeds roughly three solar masses, not even the extreme pressure that supports a neutron star can hold it up, and it collapses further into a black hole — an object NASA Science describes as having gravity "so intense that not even light can escape."
Recycled into new stars
The material a dying star releases does not disappear. NASA Science notes that matter ejected in a supernova or shed by a dying Sun-like star returns to the interstellar medium, enriching it with elements forged by fusion and allowing new stars — and potentially new planetary systems — to form from the remnants. This cycle of collapse, fusion and dispersal is what astronomers refer to collectively as the stellar lifecycle.
Questions
- What triggers a star to start forming?
- A dense, turbulent knot inside a cold molecular cloud becomes gravitationally unstable and begins to collapse; this can be set off by an external disturbance such as a nearby supernova shock wave or a collision between clouds, according to ESA's education materials.
- What is a protostar?
- A protostar is a collapsing ball of gas and dust that shines from the heat of its own gravitational contraction, not from nuclear fusion, according to Las Cumbres Observatory; it becomes a true star once fusion ignites in its core.
- At what temperature does nuclear fusion start in a star?
- Fusion begins once the collapsing core reaches a temperature of roughly 10 million Kelvin, the threshold identified by both ESA and Las Cumbres Observatory for hydrogen fusion to proceed.
- How long does a star like the Sun live?
- ESA's stellar-evolution data give a Sun-like (G-type) star of about 1.1 solar masses a main-sequence lifetime of roughly 8 billion years, after which it becomes a red giant and eventually a white dwarf.
- Why do massive stars die differently from smaller ones?
- Mass determines the outcome: ESA and NASA Science explain that stars with roughly eight or more solar masses explode as supernovae, leaving a neutron star or, above about three solar masses of remnant core, a black hole, while lower-mass stars like the Sun end quietly as white dwarfs.
Sources
This piece was prepared with artificial intelligence and passed an automated source check before publication. If you see an error, ask for a correction. Request a correction or reply · How we make this
Related

SpaceArticle
How space telescopes see what ground observatories cannot
Space telescopes orbit above Earth's atmosphere, which blocks or distorts most infrared, ultraviolet and X-ray light before it reaches the ground. By operating outside that barrier, observatories such as Hubble, Webb, Gaia and Chandra each capture a different slice of the electromagnetic spectrum, and together they build a more complete picture of stars, galaxies and the early universe.

SpaceGuide
How to Watch a Meteor Shower: Best Times, Spots and Techniques
Meteor showers are best seen with the naked eye, from a dark location, in the hours between midnight and dawn when a shower's radiant climbs highest in the sky. Checking the Moon phase, letting your eyes adapt to the dark, and looking slightly away from the radiant are the steps experts most often repeat.

SpaceGuide
How to Start Stargazing: A Beginner's Guide to Observing Planets and Stars
Beginners can start observing the night sky with no equipment at all: let your eyes adjust to darkness for at least 15-20 minutes, learn to tell planets from stars by their steady (non-twinkling) light, and use a star chart or app before buying any gear. Binoculars, not a telescope, are the recommended first upgrade, according to NASA and EarthSky.

SpaceArticle
How Radio Telescopes Detect Signals From Deep Space
Radio telescopes collect extremely faint radio waves with large dishes or networks of antennas, then amplify and combine the signals—sometimes linking instruments across continents with atomic-clock timing—to reveal details invisible to ordinary telescopes. This approach has produced the first image of a black hole, found more than a thousand pulsars with a single dish, and caught hundreds of split-second fast radio bursts.