What happens when petrol is used in a car engine?

It burns up and goes to the engine to power it so your car can move