X-ray inspection is a non-destructive method of detecting defects or foreign objects in products or packaging by passing X-rays through the item being inspected and analyzing the resulting image.