A harbor provides safe anchoring for ships and is either natural or man-made. It lacks gates but may have a narrow entrance. In contrast, a dock is dug out and has gates to retain water at low tide for mooring ships to exchange cargo or passengers or undergo repairs. A port contains one or more harbors and allows ships to dock and transfer people and goods between land and sea. Key harbor features include entrance channels, berthing basins for parking ships, breakwaters for protection from waves, and wharves/jetties for ship access.