Forming negative ions
The outer shells of non-metal atoms gain electrons when they form ions: the ions formed are negative, because they have more electrons than protons. the ions formed have full outer shells. for groups 6 and 7, the number of electrons gained is equal to: 8 - group number.