It is used to treat fungal infections of the skin. It works by killing the fungus that causes infections such as athlete’s foot, thrush, and ringworm.