Rousseau's Social Contract
The social contract was one of Jean Jacques Rousseau's most spread ideas and the title of one of the books he wrote. But many of the ideas of the enlightened philiosophers had originated in the 17th century. John Locke was one of the most influential thinkers in the development of the political ideas of several enlightened philosophers. Rousseau's idea of the social contract had been also explained by Locke. Here you have a scheme based on Locke's ideas which summarizes this concept.
And this is another scheme that includes what will happen if the government/ State doesn't carry out its part of the "contract": people will have the right to replace or overthrow the government:
The source of both images is the following: