Surgery plays a crucial role in the treatment of many cancers. It is often used to remove a tumor when it is localized and has not spread to other parts of the body. In some cases, surgery is combined with other treatments like chemotherapy and radiation to ensure all cancer cells are eradicated.