Professor Dave Explains · youtube · en-US
1The star rapidly grows into a giant again, ejects its outer layer to form a planetary nebula, leaving behind a hot, dense core about the size of Earth.
“This means it will grow rapidly and become a giant star again, until the last bursts of energy eject the outer layer, pushing it away from the core and back into the interstellar medium, leaving only a tiny, very hot, bare core behind, about the size of Earth.”