A device to measure the movement of the UAV and keep it stable in the air.  Most advanced drones have triple axis gyroscopic stabilisation meaning that the craft is stabilised on yaw, pitch and roll.