Surgery involves the physical removal of the tumor and, in some cases, surrounding tissues and lymph nodes. It is most effective for localized cancers that have not spread. Advances in minimally invasive surgical techniques, such as laparoscopic surgery and robotic surgery, have improved recovery times and outcomes for many patients.