In an oil lamp, oil rises through the wick due to the capillary action. Such a capillary rise of oil is due to surface tension of oil. The wick acts as a capillary tube. When the wick is placed in oil, the attractive forces between the oil and the inner wall of capillary (wick) pull the oil up through the wick.