Years ago people were held in prisons under castles and they were known as dungeons.