Azithromycin is an azalide, a subclass of macrolide antibiotics. It is derived from erythromycin, with a methyl-substituted nitrogen atom incorporated into the lactone ring, thus making the lactone ring 15-membered.