X-rays are a type of radiation called electromagnetic waves that create pictures of the inside of the body. They can help healthcare providers determine if a bone is fractured or broken. Chest X-rays can also determine if a patient has pneumonia, and mammograms are a type of an X-ray used to look for breast cancer.