The Panama Canal is an approximately 80 km-long ship canal that connects the Atlantic and Pacific oceans across the Isthmus of Panama.
The old Panama Canal locks were an engineering marvel in their time. These locks used a system of gates and water flow to raise and lower ships as they crossed the canal.
As a ship enters the lock chamber, massive gates close behind it, creating a contained environment. The lock chamber is then filled with water from the adjacent lake, raising the ship to the...
https://www.marineinsight.com/videos/video-how-do-new-panama-canal-locks-function/