Underground gold detectors work by emitting an electromagnetic field from a search coil into the ground, which induces electrical currents in buried metal, creating a reflected magnetic signal that the detector captures to identify the object's presence, size, and type. These devices use specialized technology like VLF or Pulse Induction to locate gold at varying depths, often filtering out soil mineralization and trash metals.