What is the difference between a detritivore and a decomposer

A detritivore is an organism that consumes decomposing organic matter, such as dead plants or animal remains. They break down these materials into smaller fragments through mechanical or chemical digestion and feed on the resulting debris. Examples of detritivores include earthworms, millipedes, and some species of insects.

On the other hand, decomposers are microorganisms, mainly bacteria and fungi, that break down complex organic materials into simpler forms. They use enzymes to extract energy and other nutrients from dead plants, animals, and other organic matter, leading to the process of decomposition. Decomposers play a crucial role in nutrient cycling by breaking down organic matter and releasing nutrients back into the ecosystem. They are responsible for breaking down complex compounds, such as cellulose and lignin, that detritivores are unable to digest.