What energy source makes the ejected gas shell of a planetary nebula visible?

Answer

Intense ultraviolet (UV) radiation from the hot central white dwarf core

The central white dwarf radiates intense UV radiation after the outer layers are gone. This high-energy radiation ionizes the expanding shell of gas, causing it to release visible light upon recombination.

What energy source makes the ejected gas shell of a planetary nebula visible?
forcestarstellar evolutionastrophysicsplanetary nebula