Adhesive forces are the forces of attraction between different substances. In capillary action, adhesive forces between the liquid and the walls of the capillary tube help to pull the liquid upward. This is because the liquid molecules are more attracted to the solid surface of the tube than to each other.
So, in summary, surface tension, adhesive forces, and cohesive forces work together to enable capillary action by pulling the liquid upward against gravity.