Trees are vital to the production of oxygen on Earth.