The three rioters in the tale represent human vices, and Death is personified; this literary device is used to teach a moral lesson.
What is allegory?