The nucleus of an atom contains two main parts: protons and neutrons. Protons are positively charged particles, while neutrons have no charge. The number of protons in an atom determines its atomic number and its chemical identity. The number of neutrons can vary, giving rise to different isotopes of the same element.