Answer:
Decomposers break down dead organic matter into simple inorganic substances, returning nutrients to the ecosystem.
Bacteria (such as species that rot dead leaves) and fungi (such as saprophytic mushrooms) are the two main groups of decomposers.
\[ \boxed{\text{Bacteria and fungi}} \]