ecosystem: mass, water and energy cycling