In the power network,the AC alternators are run in synchronism to generate 230 V, 50 Hz. As the load changes, it affects the frequency- for an overload the frequency decreases to say 48 Hz, and the network manager activates more power sources to get back to 50 Hz. In the case of an under-load, the frequency exceeds 50 Hz, say 52 Hz, and the manager can disconnect unnecessary sources to get back to 50 Hz.
In the large network, the voltage at the big generators can be up to 750 kV, to be transmitted by HV lines closer to consumers. The next level can be ~30 kV for cities and districts, then 3 kV for streets and finally down to 230 V for homes.
Voltage is adjusted by taps on local transformers to stay within 5 ..10% around 230 VAC under a nominal load. YOu can see with a voltmeter that in a home, overnight the voltage can rise to 240V while at a maximum load in the evening it could drop to 210V due to many consumers loading the network.
See Wikipedia or textbooks for more details.