The function of law in society is to set enforceable rules that protect individual freedom, keep public order, and give people a structured way to resolve conflicts without resorting to force. Law does this work on several fronts at once: it defines what counts as acceptable conduct, shields people from abuse by the government and by each other, provides a forum for settling disagreements, builds the scaffolding people need to cooperate economically, and limits what those in power can do. Each of these jobs matters on its own, and together they explain why law reaches into nearly every corner of daily life.
Setting Standards for Behavior
The most visible thing law does is draw a line between what society will tolerate and what it won’t. Criminal statutes against assault, theft, and fraud announce that certain conduct crosses that line. When enough people agree something causes harm, the law turns that consensus into an enforceable rule.
These standards go well beyond violent crime. Traffic laws exist because unregulated intersections would be deadly. The FDA publishes a Food Code that gives state and local regulators a scientific basis for restaurant and grocery store safety rules, covering cooking temperatures and storage of perishable ingredients.1U.S. Food and Drug Administration. FDA Food Code Workplace safety rules set by OSHA require employers to protect workers from toxic chemicals, unguarded machinery, and fall risks. An employer who willfully ignores those rules faces penalties up to $165,514 per violation, and a serious violation can cost up to $16,550.2Occupational Safety and Health Administration. OSHA Penalties
Enforcement is what separates law from a suggestion. Fines, probation, imprisonment, and license revocations give the rules weight. Without consequences, standards would be aspirational, and aspirational guidelines tend not to survive contact with profit motives or personal convenience.
Protecting Individual Rights
Law doesn’t only regulate individual behavior. It also shields people from overreach, both by government and by other private actors. The Bill of Rights spells out protections like freedom of speech under the First Amendment and the ban on unreasonable searches under the Fourth.3Cornell Law School. Bill of Rights These aren’t abstractions; they limit what police, prosecutors, and legislators can do to you.
The Fourteenth Amendment extends those protections by prohibiting any state from depriving a person of life, liberty, or property without due process of law, and by guaranteeing every person equal protection under the law.4Library of Congress. Fourteenth Amendment Those two clauses are the foundation of most modern civil rights litigation. When a government policy treats one group differently from another, equal protection is the tool courts use to decide whether that difference is justified.
Federal statutes layer specific anti-discrimination rules on top of the constitutional guarantees. The Fair Housing Act prohibits housing discrimination based on seven protected characteristics: race, color, religion, sex, national origin, disability, and familial status.5Office of the Law Revision Counsel. 42 USC Chapter 45 – Fair Housing The Americans with Disabilities Act bars discrimination against people with disabilities in employment, public accommodations, and other critical areas of daily life.6Office of the Law Revision Counsel. 42 USC Chapter 126 – Equal Opportunity for Individuals with Disabilities When someone believes their rights have been violated, the court system is where they go to challenge the violation and ask for a remedy.
Resolving Disputes
People disagree. About money, property boundaries, custody, broken promises, who caused an accident. Without a legal framework, those disagreements would escalate into threats or retaliation. Law channels them into structured processes where evidence matters more than leverage.
Courts are the main venue. In a civil case, a judge or jury hears arguments from both sides, reviews evidence, and issues a binding decision. The range of disputes courts handle is enormous: breach of contract, personal injury, landlord-tenant conflicts, intellectual property theft, and employment claims, among others. Criminal courts work under a higher standard of proof, with prosecutors required to prove guilt beyond a reasonable doubt rather than by a mere preponderance of the evidence.
Not every dispute needs a courtroom. Mediation pairs the parties with a neutral facilitator who helps them negotiate something both sides can accept. Arbitration is more formal: an arbitrator reviews evidence and arguments, then issues a decision that is usually binding. Both tend to be faster and cheaper than full litigation, which is why many contracts require one or both before a lawsuit can proceed.
Mandatory Arbitration and Its Limits
Millions of employment contracts and consumer agreements include mandatory arbitration clauses that push disputes to a private arbitrator instead of a court. The Federal Arbitration Act makes these agreements enforceable as long as they meet ordinary contract requirements, and courts have consistently upheld them, including clauses that waive the right to join a class action.7GovInfo. 9 USC 2 – Validity, Irrevocability, and Enforcement of Agreements to Arbitrate Critics argue this strips employees and consumers of meaningful bargaining power, since most people sign without reading and have no realistic room to negotiate.
Congress has carved out one significant exception. The Ending Forced Arbitration of Sexual Assault and Sexual Harassment Act, signed in 2022, lets anyone alleging sexual assault or sexual harassment choose to take their claim to court regardless of any pre-dispute arbitration agreement they signed.8Congress.gov. H.R. 4445 – Ending Forced Arbitration of Sexual Assault and Sexual Harassment Act of 2021 The election belongs to the person making the allegation, not the employer or company.
Making Cooperation Possible
Much of what law does has nothing to do with punishment or disputes. It provides the scaffolding that lets strangers cooperate confidently. When you sign a lease, buy a car, or accept a job offer, you’re relying on legal frameworks that make those agreements enforceable. Without that predictability, economic life would grind to a crawl, because nobody would trust a stranger’s promise.
Contract law is the clearest example. If a supplier agrees to deliver raw materials by a certain date and fails, the buyer can sue for damages. That possibility is what makes the agreement worth entering in the first place. The Uniform Commercial Code, a set of model rules adopted in some form by every state, standardizes how sales of goods work across state lines, so a business in one state can confidently deal with a business in another.
Property law creates a system for owning, using, and transferring assets. Title records, deeds, and registration systems exist so that when you buy a house, you can verify the seller actually owns it. Family law provides a similar structure for marriage, divorce, child custody, and inheritance, keeping deeply personal matters inside established rules rather than power struggles.
Business Entities and Limited Liability
Corporate and business entity law performs a function most people benefit from without noticing. When someone forms a corporation or a limited liability company, the law treats the business as a separate entity from its owners. If the business takes on debt or gets sued, creditors go after the company’s assets, not the personal bank accounts of its owners. This separation of liability is one of the main reasons people are willing to start businesses, invest in companies, and take the economic risks that drive job creation. The protection has limits. If an owner personally guarantees a loan or treats the business as a personal piggy bank, a court can set the shield aside.
Limiting Government Power
One of law’s most important functions is telling the government what it cannot do. The principle behind this is the rule of law: no person and no institution, including government officials, sits above the legal system. A constitution serves as the supreme rulebook, defining government powers and placing hard limits on how they’re used.
The U.S. Constitution divides federal power among three branches. Article I vests all legislative power in Congress.9Library of Congress. Article I Section 1 The executive branch enforces the law, and the judicial branch interprets it. This separation exists precisely because concentrating authority in one body is the fastest path to abuse.
The branches check each other through mechanisms written into the Constitution. A president can veto legislation, but Congress can override that veto with a two-thirds vote in each chamber.10Cornell Law School. The Veto Power The judiciary holds what is arguably the most powerful check of all: judicial review, the authority to strike down laws and executive actions that violate the Constitution. The Supreme Court established this power in 1803 in Marbury v. Madison, declaring that “it is emphatically the province and duty of the judicial department to say what the law is.”11Library of Congress. Marbury v. Madison and Judicial Review
Executive orders show this working in practice. They carry the force of law, but courts can strike one down if the president lacked authority to issue it, if it conflicts with a statute, or if it violates constitutional rights. Judges apply varying levels of scrutiny, often a “rational basis” test asking whether the order is reasonably related to a legitimate purpose, but stricter review when fundamental rights like due process are at stake.12Federal Judicial Center. Judicial Review of Executive Orders A president can act quickly, but the courts have the last word on whether the action is legal.
Using the System
Each of these functions assumes people can actually reach the legal system. Knowing your rights means little if enforcing them is out of financial reach, and the system has built in several ways to lower that barrier.
Filing a lawsuit requires a court filing fee, which varies by jurisdiction and case type but typically runs a few hundred dollars for a general civil case. If you cannot afford the fee, federal courts allow you to apply to proceed “in forma pauperis,” meaning without prepaying costs, by submitting a sworn statement of your financial situation including income, assets, debts, and dependents.13Office of the Law Revision Counsel. 28 U.S. Code 1915 – Proceedings in Forma Pauperis The court reviews the application and decides whether to waive the fee. Many state courts offer similar programs.
For people who need a lawyer but can’t pay for one, the Legal Services Corporation funds 129 independent legal aid programs with more than 800 offices across the country.14Legal Services Corporation. Who We Are Eligibility is generally limited to households earning no more than 125% of the federal poverty guidelines.15eCFR. Part 1611 – Financial Eligibility These programs handle family law matters like domestic violence protective orders and custody disputes, housing issues including evictions and foreclosures, consumer debt problems, and employment claims.
For smaller disputes, most states run small claims courts with simplified procedures and no requirement for an attorney. Dollar limits range from $2,500 to $25,000 depending on the state, with most capping claims around $10,000. Filing fees are lower, hearings are faster, and the rules of evidence are relaxed compared to regular civil court. For many people, small claims court is the only realistic way to enforce a legal right without spending more on the process than the claim is worth.