Oxygenic photosynthesis works as a counterbalance to breathing by taking in the carbon dioxide produced by all breathing organisms and reintroducing oxygen to the atmosphere.