After shedding its outer layers to form a planetary nebula , it will leave behind this core , which forms the remnant white dwarf .
After shedding its outer layers to form a planetary nebula , it will leave behind the core , which is the white dwarf .