Noach and Avraham

Why do Chazal always compare Noach and Avraham? What do each of them represent? How does Avraham's reaction to the plan to destroy Sodom compare to Noach's reaction to the plan to destroy the world?