The Declaration asserts that to secure their individual rights, the people institute governments for themselves -- that governments derive "their just powers from the consent of the governed." This phrase focuses on the idea of a social contract - that our agreement to live under a government is an implicit pact between the governors and the governed.
Social contract theory was argued by English philosophers such as Thomas Hobbes and John Locke in the 17th century. American founding fathers took a number of their ideas from the political philosophy of John Locke. Locke's Second Treatise on Civil Government put forth his social contract theory and design for a representative form of government.