An X-ray image of a neutron star. Like a black hole, a neutron star forms after a star collapses under it’s own gravity. Unlike a black hole, a neutron star is not a singularity. It is prevented from a complete collapse by the Pauli exclusion principle.