Carbon cycling and carbon flux through ecosystems