The four major functions of ecosystems are productivity, decomposition, energy flow, and nutrient cycling.

Ecosystems – Their Types and Functions