Question: what is the function of neutrons in the nucleus?
Answer: Neutrons are electrically neutral, but contribute to the mass of a nucleus to nearly the same extent as the protons. Neutrons can explain the phenomenon of isotopes (same atomic number with different atomic mass.) The main role of neutrons is to reduce electrostatic repulsion inside the nucleus.