Baron von Drais invented a walking machine in 1817 to help him get around the garden faster. The device was two in-line wheels of equal size, a steerable front wheel, both wheels were mounted to a frame which you straddled. This device was the beginning of what we now call a Bicycle.
Eventually this Walking machine became known as the Draisienne or hobby horse.
The fad faded in popularity. The Walking Machine was quite heavy and the frame made out of wood.
The next 2 wheeled riding machine was introduced in 1865 and had pedals attached to the front wheel. It was called the Velocipede or Boneshaker.
The high wheel Bicycle we most often think of with regard to the history of the bicycle was introduced in 1870. These bicycles were expansive but enjoyed by young men of means. They cost an average of six month's pay. They were a bit dangerous because they had a tendency to flip the rider over if the bike hit a rock in the road.
By the 1880's the High Wheeled Bicycle was invented. It was a tricycle giving more stability and the rider sat between the two rear wheels. These were more affordable and doctors and clergy would often used them. This invention also brought into use, rack and pinion steering, the differential and band brakes, all of which were used when the automobile was invented.