An X-ray is a form of electromagnetic radiation that creates images of the inside of the body to diagnose conditions like fractures and pneumonia.