What is the meaning of Magnetometer?

An instrument used to measure the intensity and direction of a magnetic field, especially at points on the Earth's surface; sometimes used as metal detector.

Source: wiktionary.org