A constitution is a foundational set of principles or established precedents that constitute the legal basis of a polity, organization, or other type of entity, commonly determining how it is to be governed. It outlines the powers and duties of government and guarantees certain rights to its citizens.