Cystoscopy is a medical procedure that allows a physician to examine the interior lining of the bladder and the urethra. This is done using a special instrument called a cystoscope, which is a thin, tube-like device equipped with a light and a camera. The cystoscope is inserted through the urethra and into the bladder, enabling direct visualization of these structures.