Answer:
to serve as an elevator by raising and lowering ships passing through the canal
Explanation:
They act as elevators lowering them to next sea through the canal, or raising them to the other sea through the canal. Panama canal is a very good example of this.