The gate is the entrance and exit to the castle and is guarded with many defensive devices. The portcullis is a heavy wooden structure that drops down to prevent enemy entrance. There may also be a drawbridge if a moat is present.