The Roosevelt corollary was an addition by President Theodore Roosevelt to the Monroe Doctrine. According to the Monroe Doctrine, Europeans could not intervene on the American continent; the Roosevelt Corollary provided that the United States had priority to intervene against foreign interventions.
The Roosevelt Corollary was theorized after Germany and the United Kingdom threatened an armed intervention in Venezuela in 1902 due to financial issues, only to submit to the Permanent Court of Arbitration, under pressure from Roosevelt himself, and after thirty-two countries claimed the payment of $ 32 million in debt from the Dominican Republic.
Here are some examples of how the different branches work together: The legislative branch makes laws, but the President in the executive branch can veto those laws with a Presidential Veto. The legislative branch makes laws, but the judicial branch can declare those laws unconstitutional.