Read it through once
When the piece of wood was formed in a growing tree, it is easy to see where the water came from: it was taken in by the roots. Just as flowers drink up the water in a vase, and wither if they do not receive enough, so all plants suck up water by their roots. The carbonic acid gas is taken into plants through their leaves and is worked up into sugar, starch, wood, and other matters inside the plant.