James watt framed the idea that heat energy can be transformed into other forms of energy. The heat energy can also be generated from other various form of energy. Keeping these ideas in his mind, he used the chemical energy of fuel, like coal, to produce steam to rotate the shaft of the engine. In other words, we can say that the heat energy is converted into mechanical energy.