Urinary tract infections (UTIs) can affect the upper and lower urinary tracts, with upper UTIs being more serious. They are primarily caused by bacteria from the digestive tract, and treatment often involves antibiotics such as TMP/SMX, nitrofurantoin, or fluoroquinolones, with specific recommendations based on the infection's complexity. Risk factors include gender, age, urinary obstruction, and poor hygiene practices, with the infections being more common in women and older adults.