An X-ray is a quick, painless test that produces images of the body’s organs and structures but is predominantly use to produce images of normal and abnormal bones. X-rays can determine whether a fracture or break has occurred in any bone of the body. X-ray beams pass through the body and these are absorbed in different amounts depending on the density of the material they pass through. Dense materials such as bone and metal appear as white images on X-rays. The air in your lungs appear black. Fat and muscle appear as varying shades of gray.