A Theory of Atmospheric Oxygen