A, state legislatures. They werent elected by people until the 17th amendment in 1912
The branches work against eachother when it comes to laws. The legislative branch makes laws, but the President can veto those laws with a Presidential Veto. The legislative branch makes laws, but the judicial branch can declare those laws unconstitutional.