Understand the role of decomposers and detritivores in an ecosystem. Decomposers, such as bacteria and fungi, break down dead organic matter, while detritivores, like earthworms and some insects, consume detritus (decomposing plant and animal parts).