A rheostat is an electrical device that is used to vary voltage across a network to which it is connected. Since resistance is actually responsible for voltage drop, so by varying the resistance, it is possible to obtain different values of voltage.