Elements are defined by their number of protons. Isotopes of an element have the same number of protons but different numbers of neutrons, giving them different atomic masses but the same chemical properties. Chlorine, for example, has two common isotopes - chlorine-35 with 17 protons, 18 neutrons, and chlorine-37 with 17 protons and 20 neutrons. The relative atomic mass of an element is calculated based on the natural abundance of its isotopes and is measured in atomic mass units relative to carbon-12. Electrons in atoms are arranged in discrete energy levels and orbit the nucleus rather than having a defined location.