A regulator can be likened to a dam on a river. Behind the dam the water is at a very high pressure. The dam regulates the flow of the river to a controlled and constant state of flow, meaning that the water lasts longer instead of shooting through the river valley at higher speed.
Basically what a regulator does is regulate the flow of air so that it is at the optimum pressure for each shot!