"Plants make their own food called glucose. To make glucose, plants use photosynthesis, which means "building with light." In photosynthesis, green chlorophyll molecules inside the chloroplasts help capture the Sun's energy."
Trees make the glucose, but they need the carbon to do that.