Moat

A Moat is a deep, wide ditch surrounding a castle, fort, or town, typically filled with water and intended as a defense against attack.