a wide and deep hole, often filled with water, that is dug around a castle and used as an extra protection against attack of enemies