what bond holds atoms together in a molecule
Covalent bonds hold atoms together because the attraction between the positively charged nuclei and the negatively charged shared electrons is greater than the repulsions between the nuclei themselves. As two atoms approach each other, the electrons in their outer shells start to notice the nucleus of the other atom.