Real trees use energy from photosynthesis to absorb carbon from the atmosphere, and that carbon becomes their physical "body." Given that we don't see Groot eat anything but one of his own leaves in the first Guardians of the Galaxy, and some candy in Vol.