Planetary nebulae are the final butterfly-like state that heralds the end of a Sun-like star's energy-generating life. Lasting no more than a few tens of thousands of years, planetary nebulae help seed space with heavier chemical elements that can be incorporated into the next generation of stars.