Matter And Energy In Ecosystems