Selenium sulfide is an antifungal agent in shampoos for the treatment of dandruff and seborrheic dermatitis.