(a) During photosynthesis which occurs during daytime, carbon dioxide and water in the presence of sunlight and chlorophyll is changed into carbohydrates and oxygen is released out.
Hence oxygen in the air is renewed by photosynthesis and therefore the amount of oxygen in air does not get depleted or removed from air.
(b) Infrared (I.R.), visible rays and ultra violet (U.V.) rays are present in the earth’s surface.
The reflected U.V. rays from the earth’s surface pass through the carbon dioxide in the atmosphere, but the I. R. rays are prevented by the carbon dioxide from being radiated out of the earth’s surface. This results in the earth’s environment staying warm. The thick CO2 layer prevents the heat radiations from being radiated out which reason :
Reason : It results into rise in global temperature.