How does the House of Representatives select the Speaker of the House?

How does the House of Representatives select the Speaker of the House?
What is the role of the Majority Leader in the Senate?
What is the role of the Whip?