The star’s agony has culminated in a wonderful planetary nebula known as NGC 6565, a cloud of gas that was ejected from the star after strong stellar winds pushed the star’s outer layers away into space. Once enough material was ejected, the star’s luminous core was exposed, enabling its ultraviolet radiation to excite the surrounding gas to varying degrees and causing it to radiate in an attractive array of colors. These same colors can be seen in the famous and impressive Ring Nebula (heic1310), a prominent example of a nebula like this one.
Planetary nebulae are illuminated for around 10,000 years before the central star begins to cool and shrink to become a white dwarf. When this happens, the star’s light drastically diminishes and ceases to excite the surrounding gas, so the nebula fades from view.