Fungi, bacteria, and flagellates in an aquatic ecosystem like a pond are primarily responsible for breaking down dead organic matter from producers and consumers. This process is called decomposition, and organisms that perform it are called decomposers or detritivores.