States of matter
When the core of a star runs out of light elements (like hydrogen or helium) to sustain fusion, the core will collapse into a very dense state called degenerate matter. Everything is packed very tightly and can barely move. If the star isn't too heavy, it becomes a white dwarf. In a heavier star, the pressure is so intense that even the protons and electrons are crushed, and it becomes a neutron star.