Capgemini Engineering Interview Question

what is gyroscope?(why do we use it)