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