Since a nucleus contains protons and neutrons, most of the mass of an atom is concentrated in its nucleus. Protons and electrons have opposite electrical charges.