A castle ( from the Latin word castellum ) is a fortified structure made in Europe and the Middle East during the Middle Ages . A castle ( from Latin castellum ) is a type of fortified structure built in Europe and the Middle East during the Middle Ages .