Surgery is often the first line of treatment for many types of cancer. It can be curative if the cancer is localized and has not spread. The main benefits of surgery include the removal of the primary tumor, reduction of cancer-related symptoms, and the ability to obtain a definitive diagnosis through biopsy.