Gastric bypass surgery is a surgery in which the stomach is divided and the gastrointestinal tract is redirected. The surgery is performed on people who have morbid obesity or have type 2 diabetes, high blood pressure or other weight-related health problems. 