Harbors can be natural as in San Francisco or artificial as in ancient Carthage or a mix of both. During the D-Day operations of 1944, two artificial harbors (named mulberry) were built just off the beaches where the invasion was going to happen.