ditch
nounA trench in the earth made by digging, particularly a trench for draining wet land, or for making a fence to guard inclosures, or for preventing an enemy from approaching a town or fortress. In the latter sense, it is called also a foss or moat, and is dug round the rampart or wall between the scarp and counterscarp.