The active ingredient in this topical ophthalmic medicine is a triazole antifungal which works by inhibiting a certain fungal enzyme,
which in turn prevents lanosterol from being converted to ergosterol.
As ergosterol is considered to be a vital component of the cytoplasmic membrane, disrupting its production destroys the fungal cells and ultimately kills the fungi, leading to the eventual treatment of the infection.