Prostatectomy is the surgical removal of the prostate gland, typically performed to treat prostate cancer. The procedure may involve making an incision in the abdomen or groin and can result in infertility and potential declines in sexual drive. Risks include injury to the urinary bladder, which may require further surgery to manage urinary functions post-operation.