A gastrectomy is a medical procedure where the whole or a part of the stomach is removed surgically with any of the four procedures. Whole, partial, sleeve and esophagogastrectomy. Gastrectomies are done not only to treat abdominal cancers but also used to treat obesity. A few sorts of gastrectomy can likewise be utilized to treat stoutness. By making the stomach littler, it fills all the more rapidly. In serious duodenal ulcers, it might be important to expel the pylorus and the duodenum. In the event that there is an adequate bit of upper duodenum remaining a Billroth I system is performed, where the rest of the segment of the stomach is reattached to the duodenum before the bile pipe and the conduit of the pancreas. On the off chance that the stomach can't be reattached to the duodenum a Billroth II is performed, where the rest of the part of the duodenum is closed, a gap is cut into the following segment of the small digestive system called the jejunum and the stomach is reattached at this opening. The risks of a gastrectomy include: Infections in stomach and chest. Leakage from the operated place. Bleeding internally. Small bowel blockage.