In short; x-rayed food is completely safe. X-ray technology uses electromagnetic waves to create images of objects. These waves pass through matter, such as food, and interact with electrons within the atoms of the material. As a result, the radiation interacts with the atoms and creates an image.
An x-ray machine works by passing an electric current through a tube filled with a special type of metal called cesium. When the electricity passes through the cesium, it produces x-rays. These x-rays travel through the object being scanned and hit a detector. The detector converts the x-rays into electrical signals that can be analyzed. Having an x-ray inspection system is as harmless as getting an x-ray at the dentist.