<human>:  How does an engine work?
<bot>: An engine works by converting energy, usually in the form of heat, into mechanical work. This energy conversion is typically achieved by burning fuel, such as gasoline, in a combustion chamber. This combustion process creates a high-pressure gas that pushes the engine's pistons, turning the crankshaft and producing the motion that powers the vehicle.