A constitution is important because it provides a framework for government and protects the rights of citizens. It establishes the rules and principles that guide the political system and ensure that those in power are held accountable.