In a fire, the material being burned is going from high energy molecules (fuel) to low energy molecules (CO2 and H2O). According to the laws of thermodynamics, the energy released in that reaction has to go somewhere, and most or all of it ends up as heat. However, we have developed some great ways to turn the energy into light (lanterns) and motion (cars burning gas) !