A white dwarf is a stellar core remnant composed mostly of electron-degenerate matter. A white dwarf is very dense: in an Earth sized volume, it packs a mass that is comparable to the Sun.