Capillarity, also known as capillary action, is the ability of a liquid to flow in narrow spaces without the assistance of external forces, often against gravity. This phenomenon is driven by the adhesive force between the liquid and the surface of the material and the cohesive forces within the liquid itself.