X-rays originate from a small point source and pass through a portion of the body onto an x-ray detector which then produces an image.
X-rays are electromagnetic radiation capable of causing ionization in matter because of their high energy content. In human tissue, ionization can cause damage to DNA and cells, but it also passes through the body to allow non-invasive visualization of internal anatomy.