How the concept of social contract relate to natural law

How the concept of social contract relate to natural law