A star that has undergone gravitational collapse.
A red giant star will turn into a white dwarf. Gravity pulls the star inwards and makes it smaller.