Japaense Castles were built by the lords to show off their power and control their provinces.
They were both residences and military bases. They were made of wood, but used various
defensive devices for protection. For example, moats were built around some castles. In fact,
moats around the Imperial Palace in Tokyo, which used to be Edo Castle, are still preserved.