the implied agreement between the people and the government in which the people give up some of their power and freedom in exchange for protection of their rights