An ionic bond is a type of chemical bond that forms between two atoms when one atom donates an electron to another atom, resulting in the formation of positively and negatively charged ions. This bond forms due to the electrostatic attraction between these oppositely charged ions. Typically, ionic bonds form between a metal and a non-metal, where the metal loses electrons (forming a positive ion) and the non-metal gains those electrons (forming a negative ion).
Example: In sodium chloride (NaCl), sodium (Na) loses one electron to become Na⁺, and chlorine (Cl) gains one electron to become Cl⁻. The Na⁺ and Cl⁻ ions are held together by the electrostatic force of attraction, forming an ionic bond.