The types of urinary tract infection depend upon the part of the urinary tract which is infected. For example, if kidneys are infected, it is known as acute pyelonephritis. If bladders are infected, it is known as cystitis and if the urethra is infected, it is known as urethritis.