What is the function of the shaft?

What is the function of the shaft?

Explanation

A shaft is a rotating machine element that is used to transmit power from one place to another. 

Propeller shaft(s) | SpringerLink