Body mass index (BMI) is a measurement of body fat based on an individual's height and weight. It is a…