Dispersion and dipole forces
Every molecule attracts its neighbours through momentary dipoles, more strongly the more electrons it has and the more surface it touches with, and polar molecules add the pull of their permanent dipoles.
From AP Chemistry.