Ecosystems regulate the carbon cycle through processes such as photosynthesis by plants, which absorb carbon.