Do you mean the US constitution? The underlying basis is natural law; ie the constitution is supposed to be based on the way human beings behave in a state of nature, the way that they would naturally choose and that is most likely to make them happy and good.