What was the purpose of a ferris wheel?

The Ferris Wheel is usually a part of the travelling carnivals or Fairgrounds, as is the roundabouts and other fairground attractions, the purpose of these rides is to thrill and scare you all at the same time.