The sun has been shining for about 4.5 billion years [source: Berkeley]. The size of the sun is a balance between the outward pressure made by the release of energy from nuclear fusion and the inward pull of gravity. Over its 4.5 billion years of life, the sun's radius has gotten about 6 percent bigger [source: Berkeley]. It has enough hydrogen fuel to "burn" for about 10 billion years, meaning it has a bit over 5 billion years left, and during this time it will continue to expand at the same rate [source: Berkeley].
When the core runs out of hydrogen fuel, it will contract under the weight of gravity; however, some hydrogen fusion will occur in the upper layers. As the core contracts, it heats up and this heats the upper layers causing them to expand. As the outer layers expand, the radius of the sun will increase and it will become a red giant, an elderly star.
The radius of the red giant sun will be 100 times what it is now, lying just beyond the Earth's orbit, so the Earth will plunge into the core of the red giant sun and be vaporized [source: NASA]. At some point after this, the core will become hot enough to cause the helium to fuse into carbon.
When the helium fuel has exhausted, the core will expand and cool. The upper layers will expand and eject material.
Finally, the core will cool into a white dwarf.
Eventually, it will further cool into a nearly invisible black dwarf. This entire process will take a few billion years.
So for the next several billion years, humanity is safe -- in terms of the sun's existence, at least. Other debacles are anybody's guess.
For more information about the sun and related topics, look over the links below.
Related HowStuffWorks Articles
More Great Links
- Remote Sensing Tutorial: Cosmology. NASA.http://rst.gsfc.nasa.gov/Sect20/A5a.html
- How much energy does the sun produce? Boston Globe. Sept. 5, 2005.http://www.boston.com/news/science/articles/2005/09/05/how_much_energy_does_the_sun_produce/
- How old is the Sun? Berkeley.edu.http://ds9.ssl.berkeley.edu/solarweek/DISCUSSION/howold.html
- The Sun's Energy Source. Montana.edu.http://solar.physics.montana.edu/YPOP/Spotlight/SunInfo/Core.html