Summary:

Like land units, there are military and non-military naval units. Work boats and any "embarked" land units are destroyed when attacked by barbarians and other civs or city-states.

All military naval units are ranged combat units. They may attack other naval units and any land units within range that they can see.

Naval combat is resolved like normal ranged combat. There are however certain late-era naval units that merit special attention: the carrier, missile cruiser and the submarines. They are discussed later, in the "Advanced Naval Combat" section.