Proper noun
Gehinnom
(Judaism) The realm of the afterlife where unrepentant souls are cleansed of their spiritual impurities before returning to the presence of God.
Those who do not "pass the test" go to a purifying place (sometimes referred to as Gehinnom, i.e. Hell, but more analogous to the Christian Purgatory ) to "learn their lesson". Source: Internet