The DEXA scan is a type of X-ray that is used to measure bone density. This test is important for diagnosing osteoporosis, which is a condition that leads to weak and fragile bones. The DEXA scan is also used to monitor the effects of treatments for osteoporosis. The test is quick and painless, and it does not require any preparation on the part of the patient.