the exposed core reaches temperatures 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. Lifetime 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, first growing hotter as it continues to contract and hydrogen fusion reactions occur in the shell around the core and then slowly cooling when the hydrogen shell is exhausted through fusion and mass loss. In the second phase, it radiates away its energy and fusion reactions cease, as the central star is not heavy enough to generate the core temperatures required for carbon and oxygen to fuse. During the first phase, the central star maintains constant luminosity, while at the same time it grows ever hotter, eventually reaching temperatures around 100,000 K. In the second phase, it cools so much that it does not give off enough ultraviolet radiation to ionize the increasingly distant gas cloud. The star becomes a white dwarf, and the expanding gas cloud becomes invisible to us, ending the planetary nebula phase of evolution. For a typical planetary nebula, about 10,000 years passes between its formation and recombination of the resulting plasma. Role in galactic enrichment Planetary nebulae may play a very important role in galactic evolution. Newly born stars consist almost entirely of hydrogen and helium, but as stars evolve through the asymptotic giant branch phase, they create heavier elements via nuclear fusion which are eventually expelled by strong stellar winds. Planetary nebulae usually contain larger proportions of elements such as carbon, nitrogen and oxygen, and these are recycled into the interstellar medium via these powerful winds. In this way, planetary nebulae greatly enrich the Milky Way and their nebulae with these heavier elements – collectively known by astronomers as metals and specifically referred to by the metallicity parameter Z. Subsequent generations of stars formed from such nebulae also tend to have higher metallicities. Although these metals are present in stars in relatively tiny amounts, they have marked effects