The series of changes that stars undergo during their lifetimes, the time-scale of which depends strongly on the star’s mass and also, to some extent, on its initial composition. The progress of a star during its evolution can be followed on a graph called the Hertzsprung–Russell (HR) diagram.
A star is born when a dense region of a cloud of gas collapses under its own gravity. A star first shines because the gravitational potential energy lost in this collapse is released as heat and light. Eventually the temperature at the centre of the protostar reaches 1 million K, igniting nuclear reactions involving deuterium (an isotope of hydrogen), and for some time the energy from this is sufficient to prevent further collapse. Once the deuterium has been exhausted, the collapse continues, and the star is classified as a pre-main-sequence object, following a characteristic path on the HR diagram (see hayashi track; henyey track). For a star the mass of the Sun, this phase lasts several million years.
Eventually the core of the star reaches temperatures of around 10 million K, hot enough to initiate the nuclear reactions that convert hydrogen to helium, and the star joins the main sequence on the HR diagram. This hydrogen-burning phase will last from a few million years, in the most massive stars, to (potentially) more than the present age of the Universe for low-mass stars. Once the hydrogen in the core has been exhausted, the core contracts under its own gravity until, in stars of more than 0.4 solar masses, the core temperature reaches 100 million K, initiating further reactions which transform helium into carbon (the triple-alpha process).
Subsequent evolution depends on the star’s mass. In stars of similar mass to the Sun and greater, while helium burning proceeds at the centre, hydrogen burning may continue in a shell outside the core. In this post-main-sequence phase the star is cooler, larger, and brighter than it was on the main sequence, and is classified as a giant or, for the most massive stars, a supergiant. Once the helium in the core is exhausted, the process of core contraction, followed by the initiation of a new set of nuclear reactions, may be repeated several times. Thus the more massive giants and supergiants can develop a layered structure, with the heaviest fuel burning in the centre and overlying layers containing lighter fuels from previous burning cycles. Throughout these processes the stars become larger and brighter. Eventually, however, either the contraction of the core fails to bring about a high enough temperature for further nuclear reactions or, in supergiants, the point is reached at which the core consists of iron, which cannot be used as a nuclear fuel. At this point, with no more energy being produced at the star’s centre, the core collapses. The collapsing core becomes a neutron star, or possibly a black hole, while the outer layers are ejected explosively in a Type II supernova explosion.
In less massive stars, evolution proceeds rather differently, in part because their cores are dense enough for degeneracy effects to be important. When helium ignites in a degenerate core it does so explosively in a helium flash, causing the core to expand. Thereafter, with the star on the horizontal branch of the HR diagram, helium continues to burn non-explosively in the core while hydrogen burns in a surrounding shell. Once helium is exhausted in the core, it continues to burn in a shell during the asymptotic giant branch phase. Details of later evolutionary phases are uncertain. However, it is thought that the outer layers of the red giant are puffed off to form a planetary nebula, leaving the core of the star exposed as a white dwarf. Hence the end-point of stellar evolution, in both high- and low-mass stars, is that much of the star is dispersed into interstellar space, leaving a collapsed remnant of spent nuclear fuel.