Azithromycin vs. Bacteria: What Infections Can It Treat? Azithromycin belongs to the macrolide class of antibiotics. It works by inhibiting bacterial protein synthesis, essentially stopping the bacteria from growing a... bevatah .