The resistivity of a conductor linearly depends on the frequency of collisions of electrons with atoms and ions of the crystal lattice, and this frequency depends on temperature. When we increase the temperature, the amplitude of the oscillations of ions in the nodes of the crystal lattice increases. Consequently, free electrons will collide with them more often. In a collision, they will lose the direction of their movement. Consequently, the current will decrease.
The resistivity of electrolytes decreases with increasing temperature, because when heated, the number of molecules increases, which decompose into ions (positive and negative).
As a result, there is an increase in the number of electrically charged particles per unit volume of the electrolyte solution, which leads to a decrease in resistance.
Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.