It depends what type of president you are thinking about. The President of Germany, the Head of State, has a role more akin to the Queen in that the position has a mainly ceremonial role, but he can give direction to debates and has some important reserve powers that may be applied when there is political instability. Politicians elevated to the position adopt a neutral stance and do not engage in party politics.