Ditch (fortification)

A ditch in military engineering is an obstacle, designed to slow down or break up an attacking force, while a trench is intended to provide cover to the defenders.