The benefit of law lies in its regulation of people's lives.
The role of law refers to the impact of law on human behavior and ultimately on social relations and society. Its essence is the impact of the will of the Ruling class (or people) and state power on social relations and social life, and it is the reflection of the resilience of the social mode of production.
There are many classifications of the role of law, mainly the normative and social roles of law.