Capgemini Engineering interview question

what is gyroscope?(why do we use it)