Dear Student,
In verification of Ohm's law rheostat is used to provide variable resistance.It results in varying of potential difference and current in the circuit and shows that the current is directly proportional to the potenial difference.
Regards