What is an example of checks and balances

The Congress passes a law. The President vetoes it. It then goes back to Congress which can overrule the veto by a 2/3 majority. If the may be illegal by the Constitution, the Supreme Court may eventually rule on it.