Hubble image of a star exploding may reveal the gruesome fate of our sun
When our sun dies about 5 billion years from now, it might look something like this glowing celestial display, which was captured from 4,600 light-years away with the Hubble Space Telescope.
Stars like our sun appear so luminous because they're nuclear fusion factories. Many convert hydrogen into helium inside their super-heated cores. But as a star ages, its nuclear fusion eventually starts to fade and fizzle out. The dying star begins to shed its outer layer of gases.
That's what's happening to the star in the image below. The star itself is invisible at the center of the cloud of gas and dust illuminated by UV light. Red corresponds to nitrogen gas, green shows hydrogen and blue shows oxygen:
Astronomers think our sun will meet a similar fate one day. It will shed its outer gas layers and eventually fade into a white dwarf star.
The bad news is that Earth will likely get fried during the sun's transformation, according to the European Space Agency. If humans are still around in 5 billion years, hopefully we've settled on new planets or found a way to shield the planet from the intense heat.
See more of the best photos taken by the Hubble Telescope:
More from AOL.com:
35 photos of solar eclipses that will blow your mind
Scientists to drill into crater formed by asteroid that killed dinosaurs
How to watch the total solar eclipse on March 8, 9