Congress is the legislative branch of the federal government. Federal agencies can spend money only under appropriations that both chambers pass and the president signs, which is why funding deadlines are set by law.