Cadence sensors detect if a rider is pedaling or not, while torque sensors utilize a precise strain gauge to measure the amount of force that a rider applies to the pedals.