How do the three branches work within the system of check and balances?

How do the three branches work within the system of check and balances?