Magnetometer - definition
Magnetometer is an instrument which is used to measure the magnetic strength or sometimes to find out the direction of magnetic fields (near both in earth or space). Magnetometer is used to calibrate electromagnets and permanent magnets and also to determine the magnetization of material. It can be also used to find iron ore deposits for mining. In smart phones, magnetometer is used in form of a compass to detect the real time direction.