Micafungin is an antifungal medication belonging to the echinocandin class. It is primarily used to treat infections caused by Candida species and certain types of Aspergillus. Unlike other antifungals, micafungin inhibits the synthesis of β-1,3-D-glucan, an essential component of the fungal cell wall.