X-rays are a form of high energy, or radiation, that can penetrate the body. They are used to produce pictures of the inside of your body. Doctors use these pictures to make a diagnosis or provide a treatment.