How a metal detector works?

During security check, people are made to walk through a large upright coil of wire which produces a weak A.C. magnetic field. If we are carrying any significant quantities of iron, the magnetic flux linked with the large coil changes and the induced current generated in coil triggers an alarm.