inferno is the underworld as described in dante alighieri 's epic poem the divine comedy , which portrays hell as an elaborately structured realm populated by entities known as `` shades '' -bodiless souls trapped between life and death .