The whole idea of government by consent rests on an invisible bargain: people give up a little freedom in exchange for protection. Three philosophers fought over its terms, and one of them won the argument in America.
The social contract is the idea that legitimate government arises from an agreement among people to give up some of their natural freedom in return for order, security, and the protection of their rights. Political power is not natural or god-given; it is a human creation, justified only by serving the people who created it.
Thomas Hobbes gave the dark version. In 1651, scarred by civil war, he argued that life without government is a war of all against all, nasty, brutish, and short, so people must surrender almost all their rights to an absolute ruler for the sake of peace.
John Locke gave the version America adopted. In 1690 he argued the opposite: people have natural rights to life, liberty, and property that government exists to protect, and if a government violates them, the people have the right to alter or abolish it.
Rousseau pushed further still. His 1762 work opened with a line that still rings: man is born free, and everywhere he is in chains. He argued government must reflect the general will of the people, not the interests of the powerful few.