Once a massive star starts to run out of fuel, its core collapses into a dense neutron star.
If it is even more massive it may shrink into the densest, most exotic object known - a black hole.