A urinary tract infection (UTI) when the infection is in the kidney.