A voltage regulator is an electrical component designed to automatically maintain a constant voltage level.