This is known as the "Separation of Powers." The Separation of Powers splits the government into the legislative, executive, and judicial branches to prevent a monarchy or dictatorship. The separate branches ensures that one never holds too much power, and that the power is equally split.