A keep is a type of fortified tower built within castles during the Middle Ages by European nobility.