The radiation used in radiography testing is a higher energy (shorter wavelength) version of the electromagnetic waves that we see as visible light
The radiation can come from an X-ray generator or a radioactive source
The part is placed between the radiation source and a piece of film. The part will stop some of the radiation. Thicker and more dense area will stop more of the radiation.
The film darkness (density) will vary with the amount of radiation reaching the film through the test object