An expanding shell of ionized gas ejected from a red giant star in the late stages of stellar evolution. Despite the name, it has no connection to planets. The glowing gas is illuminated by the hot core of the dying star.
Source: science.nasa.gov
17/01/1996

This pseudo-color composite of two recent Hubble Space Telescope images is a picture of a Sun-like star nearing the end of its lifetime. The exquisite details visible in this planetary nebula indicate that when the star passed through its Red Giant phase it initially shrugged off its outer atmosphere gently and evenly producing the outer faint spherical shells. As the process continued, material was apparently ejected in dense clumps producing dust clouds in the bright inner regions. The whole ejection process was amazingly rapid, taking only a few thousand years compared to a 10 billion year lifetime typical for Solar type stars. In the end the hot stellar core, now a white dwarf star, was left - seen here as a white dot at the center of the nebula. Our middle-aged Sun will experience a similar fate ... in about 5 billion years!