Heat is the total energy of molecular motion in a substance while temperature is a measure of the average energy of molecular motion in a substance. Heat energy depends on the speed of the particles, the number of particles (the size or mass), and the type of particles in an object.