Are Laws Beneficial for Society?

How Can Laws Be Beneficial for Society?