What document is created by society to guide its government?

Constitutions are created by societies to form and set guidelines for their government. They are found in every level of government.