With or without water it can be used as a barrier, as an alternative for a fence.
A trench is a long narrow ditch.
Types and applications include:
... the Aldwych branch of the Piccadilly Line) These stations once served by the Metropolitan Line, District Line or Northern City Line (Great Northern & City Railway) ...