Question: what type of bond is formed between magnesium and oxygen?
Answer: Mg loses two electrons to have an octet. Oxygen gains two electrons to have an octet. The ionic bond between ions results from the electrostatic attraction of opposite charges. The final formula of magnesium oxide is MgO.