Urology is the study, diagnosis, and treatment of diseases of the urinary tract in females and of the genitourinary tract in males.