Plants intake carbon dioxide from the atmosphere and prepare food and release oxygen into the atmosphere by the process of photosynthesis.
Animals and plants intake oxygen and release carbon dioxide by the respiration process.
In this way, plants and animals help each other in the exchange of gases in the atmosphere.