How does a Segway Work?

A Segway works by employing gyroscopic balancing in order to keep the rider upright at all times no matter what. A gyroscope is able to use opposite momentum to keep things going in a constant direction.