The adhesion of gases or liquid molecules to the surface of solids or liquids with which they are in contact.