Answer:
According to the social contract theory, people agree to give the government the power of force and justice, in order to have their rights to life, liberty, and property protected.
At the same time, the government compromises to protect those rights.
In the social contract, the people also have the right to depose or change their government in case they are unsatisfied with it, or feel that it is not meeting its duties.