The attraction of each atom's nucleus for valence electrons of another atom pulls the atoms together.