Movement of Matter and Energy in Ecosystems