Maintenance of Public Order
One of the important social functions of law is to maintain public order. By enacting regulations in advance, law enforcement officers and the public can know what is allowed, what is not, and what they are required to do. The legal norms can clarify the inter-relationships between the government and citizens and between citizens. When a dispute arises, it can be resolved peacefully through legal processes.