the Senate has the power to confirm the president's appointments that need consent, and also to give advice and consent to confirm treaties