Asymptotic giant branch forming helium (known as hydrogen burning), and a very large envelope of material of composition similar to main-sequence stars. When a star exhausts the supply of hydrogen by nuclear fusion processes in its core, the core contracts and its temperature increases, causing the outer layers of the star to expand and cool. The star becomes a red giant, following a track towards the upper-right hand corner of the HR diagram. Eventually, once the temperature in the core has reached approximately , helium burning (fusion of helium nuclei) begins. The onset of helium burning in the core halts the star's cooling
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,