The surface phenomenon that occurs when molecules of a gas or liquid adhere to the surface of a solid.