A metal detector is an electronic device used to locate metal objects hidden underground or within other materials. Commonly used for security screening, treasure hunting, and industrial applications, it emits an alert when metal is detected.