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:
... to the United States Census Bureau, the town has a total area of 11.3 km² (4.4 mi²). 10.6 km² (4.1 mi²) of it is land and 0.6 ...