Selenium from toxic to essential: main functions