Answer:
When a magnesium atom reacts with an oxygen atom, magnesium gives up its two valence electrons and becomes a positively charged ion, i.e. a cation, Mg2+ … The cation and the anion will then be attracted to each other by way of the electrostatic force of attraction → an ionic bond is formed.
Explanation:
hope it helps, please mark as brainliest