A white dwarf is the end stage of a star's life cycle, specifically for those that were not massive enough to become supernovae. After exhausting its nuclear fuel, the star sheds its outer layers, leaving behind a hot, dense core. This core, composed mainly of carbon and oxygen, is what we call a white dwarf. It is small in size, comparable to Earth, but has a mass similar to that of the Sun, resulting in a high density. Over time, it cools and dims, eventually fading away.