Resembling a giant eyeball looking into space, the Helix Nebula is a bright planetary nebula created by a star that's near the end of its life. As explained by NASA, the nebula was formed after the dying star started shedding off its outer layers.

The Helix Nebula can be found in the constellation Aquarius and is about 650 light-years from Earth. Although this may seem like a great distance, the Helix Nebula is actually one of the closest planetary nebulae to Earth.

Photographing The Helix Nebula

Helix Nebula
A dying star is throwing a cosmic tantrum in this combined image from NASA's Spitzer Space Telescope and the Galaxy Evolution Explorer (GALEX), which NASA has lent to the California Institute of Technology in Pasadena. In death, the star's dusty outer layers are unraveling into space, glowing from the intense ultraviolet radiation being pumped out by the hot stellar core. NASA/JPL-Caltech

NASA was able to take a stunning photo of the nebula by combining the images taken by its Spitzer Space Telescope and the Galaxy Evolution Explorer (GALEX), an orbiting ultraviolet space telescope used by the agency from 2003 to 2012.

Through the imaging capabilities of these two telescopes, NASA was able to capture the intense ultraviolet radiation being emitted by the nebula's central star. As the radiation from the star pushes away and illuminates the surrounding clouds of gas and dust, it creates a stunning image that makes the nebula look like a giant cosmic eye.

"The intense ultraviolet radiation from the white dwarf heats up the expelled layers of gas, which shine brightly in the infrared," NASA explained in a statement. "GALEX has picked out the ultraviolet light pouring out of this system, shown throughout the nebula in blue, while Spitzer has snagged the detailed infrared signature of the dust and gas in yellow A portion of the extended field beyond the nebula, which was not observed by Spitzer, is from NASA's all-sky Wide-field Infrared Survey Explorer (WISE)."

Helix Nebula's Dying Central Star

White dwarf stars, which our Sun will eventually become, will become a solid crystal, according to new research. Pictured: In this NASA handout, the Moon transits across the Sun, as seen in 304 angstrom extreme ultraviolet light during the total eclipse M
White dwarf stars, which our Sun will eventually become, will become a solid crystal, according to new research. Pictured: In this NASA handout, the Moon transits across the Sun, as seen in 304 angstrom extreme ultraviolet light during the total eclipse Monday, August 21, 2017. NASA

As explained by the agency, the nebula's central star is already on the verge of dying. The radiation it's emitting is being pumped out from its hot core. It then illuminates the outer layer being expelled by the star. According to NASA, the star spent its life converting hydrogen into helium through nuclear fusion. Once it runs out of hydrogen, which is its energy source, it will turn to helium for its main fuel. Eventually, as the star depletes its sources of fuel, its outer layer will expand and leave behind a stellar core known as a white dwarf.

"When the hydrogen fuel for the fusion reaction runs out, the star turns to helium for a fuel source, burning it into an even heavier mix of carbon, nitrogen and oxygen," NASA explained. "Eventually, the helium will also be exhausted, and the star dies, puffing off its outer gaseous layers and leaving behind the tiny, hot, dense core, called a white dwarf."