Matter and Energy in Ecosystem