Guys it isn't just heat...
It is also kinetic energy...
The electrons that move inside the transistor.