The balance of oxygen and carbondioxide is maintained in the atmosphere by the oxygen released by plants during photosynthesis and carbondioxide released by human,animals etc. The balance of oxygen and carbondioxide is made due to respreration and photosinthesis.