The main principle of the 9-axes Sensor Fusion solution is that the accelerometers, gyros, and magnetometers work together to eliminate the drift that can occur with the steady standalone gyroscope. The magnetometer is used to remove magnetic interference.