A castle is a large stone and mortar building that royal families lived in during the middle ages