Some species became tolerant to environment containing toxic elements. One example is the serpentine plant communities. Serpentine is a mineral that contains high amounts of chromium, nickel, and cobalt. Most plants cannot grow in soil that forms from serpentine rock but a small number of species have adapted to survive in the presence of this toxic element. Probably, variants of ancestral, nonserpentine plants arose that could tolerate in serpentine soil, and following natural selection resulted in the distinctive formation of species we see in these areas today. Currently, there are studies involve in determining if serpentine-adapted plants can be used to take toxic metals in contaminated area and concentrating them for safer disposal.
Urry, Lisa A.. Campbell Biology (p. 30). Pearson Education. Kindle Edition.