Oxygen is returned to the atmosphere mainly by
Photosynthesis
Photosynthesis is a process by which plants convert carbon dioxide into glucose in the presence of sunlight. Here, oxygen is given out as a by-product. This is the process which is mainly responsible for the release of oxygen into the atmosphere.