Ureteroscopy is a medical procedure used to diagnose and treat conditions affecting the urinary tract, specifically the ureter and kidney. It involves using a thin, flexible tube called a ureteroscope to examine or treat issues such as kidney stones, tumors, or other blockages.