What does the legilative branch do?

The U.S. legislative branch can impeach federal officials (House), try impeachment cases (Senate), pass legislation (both House and Senate), override the President's veto with a 2/3 majority (both House and Senate), choose the President when there is a tie in the Electoral College (House), and approve the President's appointments (Senate).