How is the idea of a social contract related to natural rights?

[] A social contract codifies natural rights into law by making it part of the Constitution.
[] A social contract takes away people’s natural rights by eliminating all individual freedoms.
[] A social contract protects people’s natural rights by having citizens give up some individual freedoms.
[] A social contract preserves natural rights by returning society to a state of nature.

A social contract protects people's natural rights by having citizens give up some individual freedoms.