What makes a boat float?

What makes a boat float?