Atoms with relatively similar electronegativities share electrons between them and are connected by covalent bonds. Atoms with large differences in electronegativity transfer electrons to form ions. The ions then are attracted to each other. This attraction is known as an ionic bond.