Ionic bonds are formed through the transfer of electrons between atoms, creating ions with opposite charges that attract each other. For example, sodium donates an electron to chlorine, resulting in a sodium ion and a chloride ion. This is different from metallic and covalent bonds, which involve electron sharing or a sea of electrons. ;