Social contract theory posits that individuals consent, either explicitly or implicitly, to surrender some of their freedoms and submit to the authority of a ruler or government in exchange for protection of their remaining rights. This theory serves as a foundational concept in political philosophy, explaining the origin of society and the legitimacy of state authority over the individual.