The natural process by which carbon dioxide is exchanged between the atmosphere, oceans, land, and living organisms.