Heating as well as cooling effect is seen in
The heating effect of electric current works for both conductors as well as insulators.