Bariatric surgery is not the total answer to obesity, but it can be an integral part of a comprehensive weight-management program.
The risks are not trivial, but they are acceptably low. The benefits: patients lose weight and keep it off, and many are cured of obesity-related diseases, notably type 2 diabetes.