Water, which is absorbed by the plant's roots, travels up the stem to the leaf through the xylem. This means that the xylem helps during photosynthesis by bringing water up the plant. It does the same job that blood vessels do in animals.