Answer
To control disruptive behaviour.
Explanation:
Although there are several functions of law in society, yet it is to control the disruptive behaviour of individuals. In a society where there is no law, such will be characterised with disorderliness. Law helps to resolve dispute, protects right and freedom, establish rules of conduct, provides a system of enforcement and protect the society at large.
Laws are created in a society to instill discipline on it's citizens and to set out clearly what is right from what is wrong. It also maintains social order, economic and political stability in a society. It maintains social order in the scenes that there is a limit to how individuals must act in relation to one another in any given society.
Other functions of law are that it governs how people behave and then set out how government would deal with such behaviour. Individuals also have power or rights under law hence create a limit to government power which in turn promote peace in a society.