Thank you for the opportunity to help you with your question!
Crankshaft is connected to the pistons by connecting rods, the force generated by combusting fuel is transfered to the crankshaft and converted to rotary motion as the crankshaft turns. The rotation power is transfered to the wheel ti initiate movement.
Please let me know if you need any clarification. I'm always happy to answer your questions.