Caspofungin is an antifungal medication that belongs to the echinocandin class. The medication inhibits 1, 3-glucan synthase, an enzyme required…