( ignoring friction losses ) input force * mechanical advantage ( speed in/speed out )= output force, but work done at both ends is the same (force * distance in direction of force) .
It is obvious that the pedals drive the back wheel in some fashion having a lot to do with the chain between them and gears. The rubber tire on the wheel makes contact with the road and friction...