An X-ray is a quick, painless test that produces images of the structures inside your body — particularly your bones. X-ray beams pass through your body, and they are absorbed in different amounts depending on the density of the material they pass through.
X-rays can be used to examine most areas of the body. They’re mainly used to look at the bones and joints, although they’re sometimes used to detect problems affecting soft tissue, such as internal organs. Problems that may be detected during an X-ray include: bone fractures and breaks.