A shaft in a mechanical system typically transmits torque, resulting in torsional shear stress.
Additionally, when the shaft is subjected to transverse loads (such as from gears or pulleys), it also experiences bending stress.
Hence, a shaft generally undergoes both torsional and bending stresses simultaneously.
Tensile stress is not a primary mode of loading for shafts.