I know the law of conservation, energy and friction, energy and matter, conserving energy, just not what the role of heat is in the conservation of energy? Please could you help me out?

(may be broke/outdated!)
I know the law of conservation, energy and friction, energy and matter, conserving energy, just not what the role of heat is in the conservation of energy? Please could you help me out?