Thus when an atom absorbs or gives off energy (as in ... number in their outer shells are less stable than those with "full" outer shells. Elements that have the same number of electrons in ...