A urinary tract infection (UTI) is an infection involving the kidneys, ureters, bladder, or urethra. These are the structures that urine passes through before being eliminated from the body. The kidneys are a pair of small organs that lie on either side of the spine at about waist level.