Gastric bypass is a surgical procedure used to treat obesity. This surgery aims to promote weight loss by reducing stomach volume and changing the digestive tract to the intestines. Gastric bypass is performed to achieve weight loss and manage obesity-related health problems, especially in overweight or obese individuals.