Have you ever wondered how motion is converted from one form to another? In the…