Answer:
If one element is a metal and the other element is a non metal
Step-by-step explanation:
Ionic bonds are formed between metals and non metals. The nonmetal atom receives electron(s) from a metal atom to form an ionic substance. This means that ionic substances are basically an ion pair.
Covalent bonds are mostly formed between two nonmetals. These elements share electrons with each other in order to form the compound.