X-rays are a type of radiation called electromagnetic waves. An X-ray is a common imaging test that that help them diagnose, monitor, and treat many medical conditions without having to make an incision. An x-ray image is created when a small amount of radiation passes through the body to reach a digital imaging plate.
X-ray imaging creates pictures of the inside of your body. The images show the parts of your body in different shades of black and white. This is because different tissues absorb different amounts of radiation. Calcium in bones absorbs x-rays the most, so bones look white. Fat and other soft tissues absorb less, and look gray.
Air absorbs the least, so lungs look black.The most familiar use of x-rays is checking for broken bones, but x-rays are also used in other ways.
For example, chest x-rays can spot pneumonia.