Ionic bonds typically form between a metal and a nonmetal. This is because metals tend to lose electrons and nonmetals tend to gain electrons to achieve a stable electron configuration. For example, sodium (Na), a metal, can form an ionic bond with chlorine (Cl), a nonmetal, to create sodium chloride (NaCl).