\
Formed between metals and non-metals.
Metal atoms lose electrons which are transferred to each of the non-metal atoms.
Positive metal ions and negative non-metal ions are attracted to each other by electrostatic forces of attraction.
\
To write the chemical formula of an ionic compound, balance the charges on each ion such that there is no net charge on the compound.
\
\