Matter And Energy In An Ecosystem