They pull carbon from the air, use water, and sunlight, then return matter to the soil when they die. Would be interesting to see for each ecosystem the best way. For instance: Broadleaf forests send carbon to the soil through shedding their leaves and dead trees
Early plants created the soil layer necessary for new plants
Fire accelerates the carbon storing process of ecosystems