Anidulafungin is an echinocandin antifungal that inhibits the enzyme 1,3-β-D-glucan synthase, essential for synthesis of β-glucan, a critical component of the fungal cell wall. Inhibition disrupts cell wall integrity, leading to osmotic instability and fungal cell death, exhibiting fungicidal activity against Candida species.