During the process of photosynthesis, plants lead to the formation of complex sugars (food) using water and carbon-di-oxide in the presence of sunlight and release oxygen into the environment. While processes like burning fuels and respiration release carbon-di-oxide into the air.