Neutron stars are formed when massive die in an supernova explosion. When the core collapses, the entire star collapses until it bacomes a dense core then blows up in a supernova, remaining the neutron star.
Neutron stars is like a small city but it has the mss of three stars. It is very dense. Some of the neutron stars spin very rapidly and have a very strong magnetic field.