Respuesta :
When a red giant has insufficient mass it pretty much sheds its outer layer to leave the center core know as the white dwarf
After a star sheds its outer layers and forms a planetary nebula it will leave behind a core which is the remnant white dwarf