A gastrectomy procedure removes part or all of the stomach. This is done for tumors of the stomach and can require removal of the entire stomach depending on the size and location of the tumor. If the entire stomach is removed, a new connection is made between the esophagus and the intestine. If part of the stomach is removed, the remaining stomach is connected to the rest of the intestine. This operation can also involve removing the lymph nodes surrounding the stomach, and any additional organs involved.