Metal detector is used to detect magnetic materials as iron an steel. Does not feel gold or other non-magnetic materials.
It uses the magnetometer and measures the magnetic field and feels the disturbance when placed close to an object.
It also detects electric wires and equipment.
It gives a visual signal together with both sound and vibrations after passing certain limits.
Sound and vibration may be silenced if wanted.