B. to prevent any branch from taking over the government
The separation of powers is a political doctrine that divides the responsibilities of government into different branches to prevent any one branch from gaining too much power and to provide a system of checks and balances.