Question: why are the ions held together in solid magnesium oxide?
Answer: Magnesium is a group II metal, and therefore has two electrons in it's highest energy level (or outermost electron shell). ... Now that two oppositely charged ions have formed, strong electrostatic attraction forms between them and magnesium oxide is formed in a giant ionic lattice structure.