In thermodynamics, heat is energy in transfer between a thermodynamic system and its surroundings by such mechanisms as thermal conduction, electromagnetic radiation, and friction, which are microscopic in nature, involving sub-atomic, atomic, or molecular particles, or small surface irregularities, as distinct from the macroscopic modes of energy transfer, which are thermodynamic work and transfer of matter.
https://en.wikipedia.org/wiki/Heat