X-rays are a type of radiation called electromagnetic waves. X-ray imaging creates pictures of the inside of your body. Common uses for X-ray imaging include detection of broken bones, dental X-rays, breast tumors (benign and cancerous), pneumonia in lungs and more.