X-rays use high-frequency electromagnetic radiation to create images of the body's internal structures.