Red-giant branch the star when it reaches the horizontal branch, so the properties of red-clump stars can be used to determine the mass difference before and after the helium flash. Mass lost from red giants also determines the mass and properties of the white dwarfs that form subsequently. Estimates of total mass loss for stars that reach the tip of the red-giant branch are around . Most of this is lost within the final million years before the helium flash. Mass lost by more-massive stars that leave the red-giant branch before the helium flash is more difficult to measure directly. The current
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,