This drug treats certain bacterial infections, such as pneumonia, bronchitis, infections of the urinary tract, ears, and intestines.