The Federal Republic of Germany is a federal parliamentary republic, based on representative democracy. The Chancellor is the head of government, while the President of Germany is the head of state which holds a ceremonial role but substantial reserve powers. Executive power is vested in the Federal Cabinet and federal legislative power is vested in the Bundestag and the Bundesrat.