When metals react with non-metals, electrons are transferred from the metal atoms to the non-metal atoms. This results in the metal atoms becoming positively charged ions with fewer electrons than protons and the non-metal atoms becoming negatively charged ions with more electrons than protons. Examples of common ionic charges are provided for elements in different groups of the periodic table. The document also explains how to write chemical formulas for ionic compounds by writing the symbols for the cation and anion.