The number of protons in the nucleus causes its electric charge. This fixes the number of electrons in its normal (un-ionized) state. The electrons in their atomic orbitals determine the element's various chemical properties.