There are 3 main types of bonding: covalent, ionic and metallic. Covalent bonding occurs when there are a shared pair of electrons between two atoms. Ionic bonding is the electrostatic attraction between two oppositely charged ions. Metallic bonding consists of a regular arrangement of cations (positively charged ions) surrounded by a sea of delocalised electrons, so the bonds are held together by the electrostatic attraction between the negative electrons and the positive cations.
(I can draw examples on the whiteboard)
To explain this in more detail, electrostatic attraction essentially means an attraction between two oppositely charged atoms.