Red giant of helium increases to the point where the star ceases to be fully convective and the remaining hydrogen locked in the core is consumed in only a few billion more years. Depending on mass, the temperature and luminosity continue to increase for a time during hydrogen shell burning, the star can become hotter than the Sun and tens of times more luminous than when it formed although still not as luminous as the Sun. After some billions more years, they start to become less luminous and cooler even though hydrogen shell burning continues. These become cool helium white dwarfs. Very-high-mass
Planetary nebula exceeding about 30,000 K, there are enough emitted ultraviolet photons to ionize the ejected atmosphere, causing the gas to shine as a planetary nebula. After a star passes through the asymptotic giant branch (AGB) phase, the short planetary nebula phase of stellar evolution begins as gases blow away from the central star at speeds of a few kilometers per second. The central star is the remnant of its AGB progenitor, an electron-degenerate carbon-oxygen core that has lost most of its hydrogen envelope due to mass loss on the AGB. As the gases expand, the central star undergoes a two-stage evolution,