As mentioned above, photosynthesis converts carbon dioxide from the air to carbohydrates and other kinds of "fixed" carbon and releases oxygen to the atmosphere.
(photosynthesis; releases; oxygen; to the atmosphere)
photosynthesis
releases
oxygen to the atmosphere