The law is a set of rules created by social or governmental institutions to regulate behavior. Its precise definition is a longstanding subject of debate. The law serves several purposes, including establishing standards, maintaining order, resolving disputes and protecting liberties and rights. The legal system also provides a means to punish those who do not obey the law.

The most important purpose of law is to establish and enforce standards of behaviour, such as respect for other people’s property, privacy, freedoms and liberty. This includes ensuring that public officials, such as police officers and government workers, are accountable to the law and must act fairly in their dealings with citizens. It is vital to a well-ordered society, providing a level playing field for everyone and enabling people to resolve their differences peacefully.

Law can be divided into two types: public law and private law. Public law governs all actions of the government and its agencies, while private laws govern the conduct of individuals and businesses. For example, a private citizen can sue a business over a contract breach, but the government cannot sue a private citizen for violating the criminal code. The law also protects the health and safety of citizens, ensuring that food, water and air are safe for them to consume and to breathe.

Normative justification is an aspect of law that determines the validity of legal norms, such as the notion of a right to a good name or the enumeration of a set of legal powers and immunities. Justification involves a comparison of the normative claims of a particular right with those of other legal norms. The stronger the legal justification, the more valid the claim.

A common theory of the function of rights is called the Interest Theory, arguing that legal norms such as privileges, powers and immunities serve to protect or further the interests of those who hold them. It is important to note that, unlike the Will Theory, this view does not require that a right-holder have an active choice about whether to exercise the right or not.

Rights are sometimes granted without correlating duties (as is the case with most civil rights, such as the right to sue for defamation). These are often referred to as ‘claim-rights’ or ‘demand-rights’. Joel Feinberg and Stephen Darwall are among the most prominent defenders of a different theory of the function of rights, focusing on the capacity or power of claim-holders to demand or exercise their rights.

To become a law in the United States, a bill must be passed by both houses of Congress (the Senate and House of Representatives), signed by the presiding officers of each chamber, and sent to the President for signature. If the President decides not to sign a bill into law, it is known as a veto and the bill will return to Congress. At this point, the House of Representatives and Senate can override the President’s veto with a two-thirds majority vote.