What was the idea behind a system of check and balances?

The idea of the system of checks and balances was to prevent any one individual or part of government to dominate the others, flout the Constitution, or take complete control of the country.