Answer :

An ionic bond is formed between metal and non metal when they exchange electrons.

The opposing bond would be covalent which is formed between non metal and non metal.

To form an ionic bond, pair any two metal and non metal that will exchange electrons such as LiBr, NaCl, etc.

Hope this helps!

The electrostatic force make the ion come closer to oposite charges.