Law is a formal system of rules enforced by governmental institutions. The law's objective is to maintain social order, protect rights, and promote justice.Law is a set of rules that are created and are enforceable by social or governmental institutions to regulate behavior, with its precise definition a matter of longstanding debate. It has been variously described as a science and as the art of justice.a binding custom or practice of a community : a rule of conduct or action prescribed (see prescribe sense 1a) or formally recognized as binding or enforced by a controlling authority. (2) : the whole body of such customs, practices, or rules. The courts exist to uphold, interpret, and apply the law. (3)