Capillary action or capillarity (also known as capillary motion) is the ability of a substance (the standard reference is a to a tube in plants but can be seen readily with porous paper) to draw a liquid upwards against the force of gravity. It occurs when the adhesive intermolecular forces between the liquid and a solid are stronger than the cohesive intermolecular forces within the liquid. The effect causes a concave meniscus to form where the liquid is in contact with a vertical surface. The same effect is what causes porous materials to soak up liquids.
A common apparatus used to demonstrate capillary action is the capillary tube. When the lower end of a vertical glass tube is placed in a liquid such as water, a concave meniscus forms. Surface tension pulls the liquid column up until there is a sufficient weight of liquid for gravitational forces to overcome the intermolecular forces. The weight of the liquid column is proportional to the square of the tube's diameter, but the contact area between the liquid and the tube is proportional only to the diameter of the tube, so a narrow tube will draw a liquid column higher than a wide tube. For example, a glass capillary tube 0.5 mm in diameter will lift a theoretical 2.8 cm column of water. Actual observations show shorter total distances.
With some pairs of materials, such as mercury and glass, the interatomic forces within the liquid exceed those between the solid and the liquid, so a convex meniscus forms and capillary action works in reverse