Selenium is a toxic nonmetallic element, related to sulfur and tellurium, that is used in electronics, glassmaking, and as a dietary supplement due to its essential role in human health.