The purpose of a voltage regulator is to keep the voltage in a circuit relatively close to a desired value. Voltage regulators are one of the most common electronic components, since a power supply frequently produces raw current that would otherwise damage one of the components in the circuit.