All around us,hiding just outside our range of vision, are miniscule machines. Tiny accelerometers in our cars sense a collision and explain the airbags to inflate. A Nintendo Wii controller's tiny gyroscopes translate your tennis swing into movement on the screen. An iPhone's accelerometer, and gyroscope,and proximity sensor sense its location in space.
Source: phys.org