The categories of obesity according to the body mass index (BMI) are class 1 obesity, class 2 obesity, and class 3 obesity.