A voltage regulator is an electronic device or circuit that maintains a constant output voltage despite changes in input voltage or load conditions. It protects electrical and electronic components from voltage fluctuations and ensures stable, reliable performance in power supply systems.