Accelerometer
An Accelerometer is an electrical component inside of a device which can measure the device’s angle or motion. An Accelerometer makes it possible for a rotated phone to change its screen’s content orientation, and motion controls for many modern smartphone games.