A neutron star is the collapsed core of a large star (usually of a red giant). Neutron stars are the smallest and densest stars known to exist, and they rotate extremely rapidly. A neutron star is basically a giant atomic nucleus about 11 km in diameter made especially of neutrons. It is believed that under the immense pressures of collapsing massive stars going supernova, the electrons and protons can combine to form neutrons via electron capture, releasing a huge amount of neutrinos. Since they have similar properties as atomic nuclei, neutron stars are sometimes described as giant nuclei. But be careful. Neutron stars and atomic nuclei are held together by different forces. A nucleus is held together by the strong force, while a neutron star is held together by gravitational force.
On the other hand, neutron stars are partially supported against further collapse by neutron degeneracy (via degeneracy pressure), a phenomenon described by the Pauli exclusion principle. In a highly dense state of matter, where gravitational pressure is extreme, quantum mechanical effects are significant. Degenerate matter is usually modeled as an ideal Fermi gas, in which the Pauli exclusion principle prevents identical fermions from occupying the same quantum state. Similarly, white dwarfs are supported against collapse by electron degeneracy pressure, analogous to neutron degeneracy.