Law is a system of rules that are created and enforced through social or governmental institutions to regulate behavior. It has been variously described as a science and the art of justice. The laws have sanctions that are recognized by the state and enforced by state-authorized bodies.