The opening of the Hercules caves onto the Mediterranean looks like the outline of Africa. Since it's also the northernmost point of Morocco and is directly across the Strait of Gibralter from Spain, it's considered to be the gateway between Europe and Africa.