The process where a liquid rises in a narrow tube or porous medium due to the force of capillary action.