Why is real estate on a waterfront often more expensive?

It is often more expensive because the available real estate on a waterfront is very limited. It is not common and so, the price is more expensive than a typical real estate.