Heat produces depends on resistance

The higher the resistance the greater the current, the greater is the heat produced.

For example:

  • Connect a bulb to a battery. After some time, touch the wires and the bulb. You find that the bulb is much warmer than the wires because the resistance of the filament of the bulb is higher than that of the wires.