When charges flow in a simple circuit, then if 5C of charge is transported by the battery(of 5V) in some time, then the work done/energy lost by the battery is 25Joules. During this time, the electrons collide with the lattice(atoms) of the conductor and heat it up.
This is what confuses me-
How is exactly all this energy converted to heat? I mean, what if the electrons collided with the lattice and lost 15J only in the collisions and still made it through the circuit?
(This might sound to be the stupidest question ever, but Im not able to create a perfect model of this topic in my mind and that is making me think all sort of weird things)