Bariatric surgery is a type of weight loss surgery that is performed on individuals who are obese or have severe obesity. Obesity is defined as having a body mass index (BMI) of 30 or higher, while severe obesity is defined as having a BMI of 40 or higher.