A bone density test, also known as a dual-energy x-ray absorptiometry (DEXA) scan, is a medical procedure used to measure the density and strength of bones. This test helps in diagnosing conditions like osteoporosis and assessing the risk of bone fractures.