The punishment of souls in Purgatory is different from that of those in Hell because these individuals actually have hope of a better existence. With their sweat and blood, they strive to be worthy of Heaven, while those in Hell wallow in their misery, with no hope of redemption. Penitent souls suffer in Purgatory as a way of cleansing themselves in preparation for going to Heaven.
Although souls in Purgatory have hope of redemption, their punishments work in inherently the same way as in Hell because they still follow the rule of contrapasso.
The punishments in Purgatory differ fundamentally from Hell’s punishments because the penitents, unlike the sinners, take a certain amount of delight in their punishment, despite the pain.