Detritivores, such as earthworms, feed on decomposing organic matter and help in nutrient recycling by breaking down dead and decaying plant and animal material.