A treadmill is a platform with a conveyer belt that moves at a certain rotation.
You use treadmills to run at a certain speed and incline.
The resistance is the incline of the treadmill as well as gravity pushing you down. The higher the incline, the more difficult the running is.