It is a common experience for current carrying conductor.
When the current flowing through the conductor then we observed that after sometimes it becomes heated.
When the voltage applied to the conductor then current start flowing due to movement of a free electron, the free electron starts drifting toward the positive terminal and its cause friction in electron due to friction heat produced.
• Heat is proportional to the square of current flowing through the conductor.
• Heat proportional to the resistance of the conductor.
• Heat proportional to the time.