A gyroscope is a device that uses the earth’s gravity to help determine orientation. It is termed as gyro-sensors when it comes to smartphones. They measure the rotation rate around the device’s x, y, and z axes.