Much of the rain forest is decaying matter. In that respect they are the "lungs of the planet"; they take in oxygen and output carbon dioxide. If you really want oxygen, you want new-growth forests.
Climate Warmists: "Never let the facts get in the way of a vapid slogan"