Forests produce oxygen through photosynthesis but also consume it through respiration and decomposition. The net contribution to atmospheric oxygen is not as straightforward as gross production numbers suggest.