It's a google search away! apologies for not revealing the punchline. I thought it was interesting, since Gibraltar and Venice aren't far from each other on a worldwide scale.
....Sewage transport ironically was a large use case. Natural tides come in, fill the lagoon, flush it out.
The network of bridges and canals were also key infrastructure for transport of goods and people.