a treadmill is a device for walking or running, while staying in the same place. before there was steam power, such treadmills were used to power machines. that way, the work of animals or people could be used in the machines. such treadmills were also used as a form of punishment in prisons.