Planetary nebula

The glowing shell of gas thrown off by a dying Sun-like star, briefly lit by the exposed hot core before it fades to a white dwarf. Nothing to do with planets.