How Does A Heat Engine Work