Pregunta de entrevista de Universal Electronics

What does an accelerometer do?