The use and reuse of chemical elements such as carbon within an ecosystem