A research team monitoring a local freshwater ecosystem noticed that over the past few years the otter population had declined significantly, while the populations of other species remained fairly constant. After running tests, the research team determined that mercury levels in invertebrates and small fish in the ecosystem were very high. In this ecosystem, what role did the otters occupy?.