In ecology, a decomposer is an organism, usually a bacterium or fungus, that breaks down the cells of dead plants and animals into simpler substances.