Moat

A moat is a ditch surrounding the protected area keeping things in an area. In zoos, moats are often used to discourage animals from escaping.