Capillarity, or capillary action, is a phenomena in which a liquid will spontaneously rise or fall in a small cross-sectional area tube-like passageway.
Surface tension, which is brought on by the cohesion of liquid molecules, and adhesive forces between the liquid and the container wall combine to create capillarity.