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 United States Census Bureau, the town has a total area of 4.9 km² (1.9 mi²). 4.9 km² (1.9 mi²) of it is land and none of the area is covered with ...