A moat is a deep, broad ditch dug around a castle, fortification, building, or town, historically to provide it with a preliminary line of defence. Moats can be dry or filled with water. From Wikipedia