If the ocean is the main hero there, why is the forest still important to our health?

Rainfall

And at least the forest soil has the same amount of carbon stored.