A urinary tract infection (UTI) is a bacterial infection that affects the urinary tract. It is a common condition in pets, especially in female dogs.