We just learned about the Moat that goes around a castle.
Another type of defense for a castle is the Ramparts.
These are hills or walls that are put up to try and hide behind or stand up on to look down on defenders.
(from: wikipedia - rampart (fortification))
Kid Facts - Blast from the past: Edinburgh Castle