Sailing is a technology that allows you to build ports, a costly building that gives 2 population. Moving a land unit onto a port creates a boat, which can be upgraded to a Ship for 5 stars.
This also allows Boats and Ships travel on shallow water.
Sailing is a Tier Two technology, and can only be researched after Fishing is researched. It leads to Navigation.