Commentary Purg XXV 85-99

The 'afterlife' of a shade is compared to its taking the form of a rainbow when the soul 'imprints' itself upon the surrounding air to make itself reassemble the memory of its former body out of thin air.  It is as inseparable from the higher soul as a flame is from its fire.