The social contract is an actual or hypothetical agreement among the members of an organized society or between a community and its ruler that defines and limits the rights and duties of each party involved. This concept is foundational in political philosophy and has been theorized by philosophers such as Thomas Hobbes, John Locke, and Jean-Jacques