Heat is the transfer of thermal energy from one object to another because of a temperature difference. Heat flows spontaneously from hot objects to cold objects. Heat is produced by friction.
Temperature is a measure of how hot or cold an object is compared to a reference point. If you using a Celsius scale the reference points are freezing and boiling. Freezing is at 0 degrees Celsius and boiling is at 100 degrees Celsius. Temperature is related to the average kinetic energy of the particles in an object due to their random motions through space. At higher temperatures particles move faster than when it is colder.