A neutron star is the collapsed core of a large star which, before its collapse, had a total mass of between 10 and 29 solar masses. Neutron stars are incredibly dense, with a mass about 1.4 times that of the Sun packed into a sphere only about 20 kilometers in diameter. This immense density means that a neutron star's gravity is extremely strong.