Heat is the transference of energy from one body to another in such a way that the internal energies of both are modified. If there is to be a transference of heat the bodies must either be at different temperatures or there must be some kind of friction between them.