If you have lung cancer, your surgeon may suggest you have surgery to treat it. During lung resection, the surgeon removes part or all of your lung.