Amphotericin B is a potent antifungal medication often used to treat severe fungal infections. It is particularly effective against a wide range of fungi, including Candida and Aspergillus species. The drug works by binding to ergosterol, a component of the fungal cell membrane, leading to cell death. Due to its broad-spectrum efficacy, amphotericin B is frequently used in critical situations, especially in neonates who are immunocompromised or critically ill.