Selenium: Deterrence, toxicity, and adaptation