The process of carbon moving through the environment, including photosynthesis, cellular respiration, and decomposition.