Heat energy depends upon the speed of the particles, the number of particles and size or mass and the type of particles in an object.
It is the sum of energies of all molecules,
SI unit of heat is Joule.
2. Temperature :
Temperature is a measure of the degree of hot or cold . lt is a number that ,is related to energy, but it is not energy itself.
Temperature does not depend on the size or mass of an object. For example, temperature of a small cup of water is the same as the temperature of a tub of water.
It is the average kinetic energy of the molecules.