The bottom bracket either stays in place and spins, or move back and forth. The chain drives a jackshaft with ratchet. There's a classic derailleur in the rear wheel.