A white dwarf is very dense : its mass is comparable to that of the Sun , and its volume is comparable to that of the Earth .
The mass of a white dwarf 's mass is similar to that of the Sun , but its volume is similar to that of the Earth .