Transurethral resection of the prostate (TURP) is a surgical procedure primarily used to treat urinary problems due to an enlarged prostate, commonly caused by benign prostatic hyperplasia (BPH). It involves the removal of prostate tissue through the urethra using a resectoscope, providing relief from symptoms such as difficulty urinating and frequent urination.