A gastric bypass can help improve medical conditions associated with obesity, such as diabetes, high blood pressure and sleep apnea. This is because the surgery leads to weight loss and improvement in body functions.