Purgatory is a passing intermediate state after physical death for purifying or purging a soul. A common analogy is dross being removed from gold in a furnace.