Protozoa interact with toxins in several ways. As both consumers and decomposers in ecosystems, they can process and accumulate environmental toxins. This accumulation can affect their predators and the organisms they parasitize. Furthermore, protozoa can be affected by pharmaceuticals and chemical agents used in agriculture, which can influence their population dynamics and ecological roles.