how do congress and the president balance each other?

Congress makes the laws. The president can veto them. For the laws to pass, the Congress must have a 2/3 majority to override the president's veto.