It is used in treating infections of the urinary tract, nose, throat, skin and soft tissues, and lungs (pneumonia).