X-ray machines at airports are used to prevent bombs or weapons being taken on board planes.