Here's how it works:
1. Fuel Combustion: The engine burns fuel (gasoline, diesel, etc.) which releases chemical energy.
2. Mechanical Work: This chemical energy is converted into heat energy which expands gases in the engine cylinders. This expansion pushes pistons, creating mechanical work.
3. Power Output: The mechanical work of the pistons is then used to turn a crankshaft and ultimately power the wheels of the car.
While the initial energy source is chemical, the final output of the engine is mechanical energy that drives the car.