One reason why Supreme Court ruled that Chaplains an offer prayers in Congress and in state legislature is that prayers have been offered in those places since colonial times.
Checks and Balances are all spread through out the branches. Each one is designed so no one branch became to powerful, each branch has to check and balance another one.