Question: what types of bonds are formed between the two elements?
Answer: Ionic bonds form when a nonmetal and a metal exchange electrons, while covalent bonds form when electrons are shared between two nonmetals.