When you start a car, the following processes occur inside the engine: when you turn the key to start the car, electricity from the battery flows to the starter. The starter begins to rotate, pushing out its gear and transmitting the first movement to the flywheel. Thus, the engine starts. By the way, the unpleasant creaking that occurs when you try to restart a running engine also comes from here.