Ans: When a battery is connected to the ends of a conductor, an electric field is setup in the conductor. The free electrons of the conductor get accelerated in a direction opposite to the direction of the electric field. They suffer frequent collisions with the positive ions and atoms of the conductor. The average kinetic energy of vibrations of the ions and atoms is increased. This will raise the temperature of the conductor.