This type of bonding involves the transfer of electrons between two atoms. One atom loses electrons and becomes positively charged, and the other atom gains electrons and becomes negatively charged. These oppositely charged ions attract one another and form an ionic bond.