Ketoconazole is a synthetic, imidazole-derived antifungal medication used primarily to treat fungal infections.