Capillarity can be explained by considering the effects of two opposing forces: adhesion, the attractive (or repulsive) force between the liquid molecules and those of the container, and cohesion, the attractive force between the liquid molecules.
The University of the State of New York 'Regents High School Examination'