A castle is a large stone and mortar building that royal families lived in during the Middle Ages.