The ability of molecules to stick to each other because of the exact shape and chemical nature of parts of their surfaces.