An x-ray is a form of electromagnetic energy, like sunlight. An x-ray machine sends individual x-ray particles called photons through your body, and the pattern they create on film or in a computer shows doctors a picture of your body. Dense parts of your body, like bone, will block most of the particles so they appear white on the x-ray.
X-ray images help find bone fractures, abnormal bone formations and metallic objects.