Answer:
The hell in Dante's Inferno is a vision of justice to those who've sinned according to how they've sinned. For example, gluttonous are forced to eat bad things all the time and similar things changing from one circle to the next one. The general idea is that those people who were famous and rich men during their lives are now seeing justice in hell, so the idea is the good old one that god will be righteous when the time comes. Another setting is how traitors are eaten all the time in the 9th circle