Detritivores are organisms that obtain nutrients by consuming decomposing organic matter, playing a crucial role in nutrient cycling and energy flow within ecosystems. They help break down dead plant and animal material, facilitating the decomposition process and contributing to soil health and fertility.