Bone density tests measure how strong your bones are, and the test is used to screen for and diagnose osteoporosis.