Main sequence stars fuse hydrogen atoms to form helium atoms in their cores. About 90 percent of the stars in the universe, including the sun, are main sequence stars. These stars can range from about a tenth of the mass of the sun to up to 200 times as massive.
Stars start their lives as clouds of dust and gas. Gravity draws these clouds together. A small protostar forms, powered by the collapsing material. Protostars often form in densely packed clouds of gas and can be challenging to detect.
"Nature doesn't form stars in isolation," Mark Morris, of the University of California at Los Angeles (UCLS), said in a statement. "It forms them in clusters, out of natal clouds that collapse under their own gravity."
Smaller bodies — with less than 0.08 the sun's mass — cannot reach the stage of nuclear fusion at their core. Instead, they become brown dwarfs, stars that never twinkle. But if the body has sufficient mass, the collapsing gas and dust burns hotter, eventually reaching temperatures sufficient to fuse hydrogen into helium. The star turns on and becomes a main sequence star, powered by hydrogen fusion. Fusion produces an outward pressure that balances with the inward pressure caused by gravity, stabilizing the star.
How long a main sequence star lives depends on how massive it is. A higher-mass star may have more material, but it burns through it faster due to higher core temperatures caused by greater gravitational forces. While the sun will spend about 10 billion years on the main sequence, a star 10 times as massive will stick around for only 20 million years. A red dwarf, which is half as massive as the sun, can last 80 to 100 billion years, which is far longer than the age of the universe. (This long lifetime is one reason red dwarfs are considered to be good sources for planets hosting life, because they are stable for such a long time.)
Bright shining star
In the early 20th century, astronomers realized that the mass of a star is related to its luminosity, or how much light it produces. These are both related to the stellar temperature. Stars 10 times as massive as the sun shine more than a thousand times as much.
The mass and luminosity of a star also relate to its color. More massive stars are hotter and bluer, while less massive stars are cooler and have a reddish appearance. The sun falls in between the spectrum, given it a more yellowish appearance.
This understanding lead to the creation of a plot known as the Hertzsprung-Russell (H-R) diagram, a graph of stars based on their brightness and color (which in turn shows their temperature). Most stars lie on a line known as the "main sequence," which runs from the top left (where hot stars are brighter) to the bottom right (where cool stars tend to be dimmer). [Video: Constructing the Hertzsprung-Russell Diagram (Hubble site)]
When the stars go out
Eventually, a main sequence star burns through the hydrogen in its core, reaching the end of its life cycle. At this point, it leaves the main sequence.
Stars smaller than a quarter the mass of the sun collapse directly into white dwarfs. White dwarfs no longer burn fusion at their center, but they still radiate heat. Eventually, white dwarfs should cool into black dwarfs, but black dwarfs are only theoretical; the universe is not old enough for the first white dwarfs to sufficiently cool and make the transition.
Larger stars find their outer layers collapsing inward until temperatures are hot enough to fuse helium into carbon. Then the pressure of fusion provides an outward thrust that expands the star several times larger than its original size, forming a red giant. The new star is far dimmer than it was as a main sequence star. Eventually, the sun will form a red giant, but don't worry — it won't happen for a while yet.
"Some five billion years from now, after the sun has become a red giant and burned the Earth to a cinder, it will eject its own beautiful nebula and then fade away as a white dwarf star," Howard Bond, of Space Telescope Science Institute in Maryland, said in a statement.
If the original star had up to 10 times the mass of the sun, it burns through its material within 100 million years and collapses into a super-dense white dwarf. More massive stars explode in a violent supernova death, spewing the heavier elements formed in their core across the galaxy. The remaining core can form a neutron star, a compact object that can come in a variety of forms.
The long lifetime of red dwarfs means that even those formed shortly after the Big Bang still exist today. Eventually, however, these low-mass bodies will burn through their hydrogen. They will grow dimmer and cooler, and eventually the lights will go out.