Question: what is the relation between number of molecules and heat?
Answer: On an atomic level, the molecules in each object are constantly in motion and colliding with each other. Every time molecules collide, kinetic energy can be transferred. When the two systems are in contact, heat will be transferred through molecular collisions from the hotter system to the cooler system.