An astronomical object that is substantially denser or more compact than most objects of its class. More specifically, a neutron star or a stellar black hole.