An organism that breaks down dead plants or animals and returns nutrients to the soil.