Bariatric surgery works by reducing the size of the stomach or bypassing a portion of the digestive tract. This limits the amount of food you can eat and/or reduces the absorption of nutrients, leading to significant weight loss. It also improves obesity-related conditions such as type 2 diabetes, high blood pressure, and sleep apnea.