Urinary tract infection (UTI) is a common type of infection caused by bacteria. UTIs can affect any part of the…