Isotopes are when an element has an extra or a lost electron. Elements work to have a full valence shell (having 8 electrons) Noble gases have full valence shells. Elements in group 1 tend to lose an electron to get this. Elements in group 17 tend to gain an electron to get 8.