What is the purpose of the body mass index?

A. to measure muscle mass

B. to judge whether a person is at a healthful weight for their height

C. to calculate the weight and density of bone structure

D. to measure the percentage of body fat