Gehenna

Gehenna (or Gehinnom) is the name of Judaism's equivalent to purgatory. It is a place of punishment for the wicked, though it is usually believed that said punishment lasts for a year only.

As a place of sacrifice
The name Gehinnom was originally attached to a literal place outside Jerusalem. Prior to the reign of Josiah, the valley was allegedly the site of child sacrifices by fire, comparable to those unearthed at Carthage. During his reign, the temple at which these sacrifices took place was destroyed.

According to Christian traditions, the location then held a continuously burning heap of rubbish, leading to the conception of hell as fiery.

As a punishment in the afterlife
In Rabbinic Judaism, the name Gehinnom is used for a purgatory-like place of atonement for sins. Souls enter it after their death, and spend upwards of a year there. Afterwards, they either ascend to olam ha-ba, the world to come, if righteous, or turn to ashes if not. The exceptions are really bad sinners, who just stay there forever.

In Christian texts, the term Gehenna is used to reference boring old Hell.