Also a major fraction of trees, ballpark 50+%, have leaves and drop them once a year, and the leaves contribute to topsoil.
Even if a forest burns, the burned trees create ash which has carbon and adds to topsoil.
Some of the topsoil gets washed into rivers and lakes, becomes mud, gets covered over by more mud, and, thus, essentially buries its carbon.
There is more that is similar: a major fraction of the surface of the earth has, within 1000 feet deep, a lot of limestone, and that is partly, largely, or mostly just old sea shells where the animals pulled carbon from the water or what it ate and converted it to calcium carbonate, that is, buried the carbon (disclaimer, I'm no geologist).
In simple terms, basically, net, the earth's biosphere grabs and buries a lot of carbon including CO2 from the atmosphere.
Note: Nowhere here have I made a remark of any kind about the effects on climate of CO2 in the atmosphere.