Well, according to the laws of physic energy can neither be created nor destroyed only transformed, this means that when for example gas burns the energy released is transformed into heat and forward momentum pushing the car forward.
I hope my answer helped you