oxazolid is a broad-spectrum antibiotic for treating bacterial infections. oxazolid belongs to the antibiotics called oxazolidine. It works to fight bacteria in the body by stopping the growth of aerobic bacteria that cause the infection, which are gram-positive.