What are X-rays of the extremities? X-rays use invisible electromagnetic energy to make images of the bones and surrounding soft tissues. Standard X-rays are done for many reasons, including diagnosing tumors, infections, foreign bodies, or bone injuries. X-rays pass through body structures onto specially treated plates similar to camera film.