A variable resistor is a resistor of which the electric resistance value can be adjusted. When only two terminals are used, it functions as a variable resistance and is called a rheostat. Electronically controlled variable resistors exist, which can be controlled electronically instead of by mechanical action.