Keys are used for?

Explanation:
Keys are used to transmit torque between shaft and hub.