A bacterial infection of the kidneys and ureters that causes frequent urination, pain in the flank, and fever.