The electrical attraction between the nuclei and valence electrons of different atoms that binds them together is known as ionic bonding. Ionic bonds are formed when one or more electrons are transferred from one atom to another, creating positively charged ions (cations) and negatively charged ions (anions). The electrostatic force between the oppositely charged ions holds the compound together. Ionic bonds are typically found in compounds formed between metals and non-metals, where the metal donates electrons to the non-metal, resulting in a transfer of electrons and the formation of ions.