Cycling of matter and energy