A detritivore is a heterotrophic animal that feeds on dead material, also known as detritus. They feed off plant remains or the remains of small organisms. Detritivores contribute to the decomposition and nutrient cycle. They can live in any type of soil or even in marine environments, and play a very important role in the ecosystem. Decomposers and detritivores are different in that detritivores can ingest discrete lumps of matter. Below is a snail, a typical example of a detritivore, but others can include sea stars, crabs, millipedes, dung flies, and worms.