Human beings, like all other organic creatures, die and their bodies decay. Nevertheless, there is a widespread and long-standing belief that in some way death is survivable, that there is “life after death.”
Many religions, whether they believe in the soul's existence in another world like Christianity, Islam and many pagan belief systems, or in reincarnation like many forms of Hinduism and Buddhism, believe that one's status in the afterlife is a reward or punishment for their conduct during life.
A close examination of what occurs in the universe shows that it contains opposites that have spread everywhere and become rooted. The results of their clashes account for good and evil, benefit and harm, perfection and defect, light and darkness, guidance and misguidance, belief and unbelief, obedience and rebellion, and fear and love. Such ongoing conflict causes the universe to manifest a continuous alteration and transformation in order to produce the elements of a new world.
"Give glad tidings to those who believe and do good deeds; for them are Gardens underneath which rivers flow; every time they are provided with fruit thereof, they say: 'This is what we were provided with before', and it is given to them in resemblance. There for them are pure spouses and they shall abide there forever."
Hell is an awesome, majestic realm which performs the wise and just function of being the place of imprisonment belonging to the Sovereign of Majesty in the sphere of existence, which is pure good. In addition to performing the function of being a prison, Hell has numerous other duties, serving many wise purposes and carrying out many tasks related to the everlasting realm. It is also the awe-inspiring dwelling of many living beings, such as the Angels of Hell.
Supposing there were nothing to require the Resurrection, the necessity of man's deeds being weighed alone would require an infinitely just and sensitive balance to be set up.