Both the bolt and the nut grip the materials being fastened, creating a bolt joint, with the nut also preventing axial movement. The effect of the bolt joint comes down to the axial clamping force provided by the nut and the shank of the bolt, which acts as a rod that presses the joint against sideways shear forces.