Taking x-rays is similar to taking pictures. The x-ray machine beams the radiation through the part of the body to be imaged.