Torque is simply a measurement of the twisting force required to spin the nut up along the threads of a bolt.
Torqueing provides the tension by the amount of rotational force they apply to the bolt.
As the force is applied, the threading draws the nut face and bolt head closer together, stretching the bolt and creating the clamping force