White dwarfs are dense, compact remnants of low to medium-mass stars that have exhausted their nuclear fuel and expelled their outer layers. They are roughly the size of Earth but contain a mass comparable to that of the Sun.
congrats on reading the definition of white dwarfs. now let's actually learn it.