After a supernova, a neutron star may form from the dense core. Neutron stars are extremely dense and spin rapidly, appearing as pulsars due to their intense magnetic fields and lighthouse effect. Neutron stars in binaries may become X-ray bursters or millisecond pulsars. Gamma-ray bursts are likely caused by colliding neutron stars or hypernovae. If the core is over 3 solar masses, it will collapse into a black hole requiring general relativity to describe. Anything within the event horizon of a black hole cannot escape.