Body fat is hard to measure directly. So it is often measured by body mass index (BMI). BMI measures weight related to height. It is a common way to measure body fat and is one tool healthcare providers use when talking about weight.
BMI is not a percentage of body fat. BMI is only part of a diagnosis of obesity. Ask your healthcare provider for other ways of determining obesity.