What does the gravity sensor do? What's the difference between gravity sensor and gyroscope?

Function Introduction:
Gravity sensors can be used in some games or software to realize the function through
changing the phone's posture or movement.The difference between the gravity sensor
and the gyroscope is that it cannot detect the change of the mobile phone's uniform
motion or horizontal angle. However, gyroscope can detect the change of angle.