Question: what is a white dwarf and how is it formed?
Answer: A white dwarf is what stars like the Sun become after they have exhausted their nuclear fuel. Near the end of its nuclear burning stage, this type of star expels most of its outer material, creating a planetary nebula. Only the hot core of the star remains.