Microbes take trace amounts of those metals into their bodies. Those microbes are eaten by other creatures which in turn are eaten by other creatures further up the food chain and so on. As each creature is eaten, the metals in what they ate are carried into the body and accumulate. Most creatures have a hard time expelling toxic metals from their system