Ionic bonding
Non metal and metal react together, metal atom loses electrons and is positively charged, the electrons are transferred to the non metal and it becomes negatively charged.
They are now oppositely charged and therefore are attracted by electrostatic forces.
Dot and cross diagrams
