Question: what is the relation between heat and resistance?
Answer: As electrons move through a metal conductor, some collide with atoms, other electrons or impurities. These collisions cause resistance and generate heat. Heating the metal conductor causes atoms to vibrate more, which in turn makes it more difficult for the electrons to flow, increasing resistance.