Why do ionic compounds include at least one metal?
Refer to the explanation.
Metals form cations that combine with nonmetallic anions or polyatomic anions. Metals lose their valence electrons to the anion or anions so that each will have a filled valence shell. The electrostatic attraction between oppositely charged ions forms the ionic bond.