It’s called [capillary action](https://en.wikipedia.org/wiki/Capillary_action), and it happens because water molecules are attracted to each other and to other molecules. This is why water forms a [meniscus](https://en.wikipedia.org/wiki/Meniscus_(liquid)) when poured into a glass. In a sufficiently narrow tube or a porous material, these intermolecular forces are strong enough to draw the water up against gravity. This is also what allows trees to transport water from their roots to their leaves.
Latest Answers