By the process of photosynthesis plants are able to capture the energy of sunlight and use it to transform water and carbon dioxide from the atmosphere into carbohydrates and other energy-rich organic compounds plus oxygen gas, which is released into the atmosphere.
(oxygen gas; is released; into the atmosphere)
oxygen gas
is released
into the atmosphere