Cystectomy is a surgical procedure involving the removal of all or part of the urinary bladder, typically performed to treat bladder cancer or severe bladder dysfunction. The surgery can be performed using open, laparoscopic, or robotic-assisted techniques, and may involve reconstructive procedures to create a new way for urine to exit the body.