In the opening cinematic, Sylvanas shatters the Helm of Dominion, breaching the veil between the material realm and the Shadowlands, an ancient dimension where the dead coalesces for judgment. Sylvanas' actions have upset the natural balance between life and death, and it's on players to enter the Shadowlands itself and repair the cycle before it is too late.
Beings of death are ancient and powerful, and it is dangerous to meddle in their realm. When Odyn peered into the Shadowlands, he saw some of its inhabitants: souls in torment, the husks of the dead, ghostly wraiths with no face, and others with no form, all made of death itself. This was enough to frighten even him. Several races in the Shadowlands, such as the kyrian of Bastion, are souls of deceased mortals who have been transformed to serve a new purpose. If one of these former mortals is killed in the Shadowlands, they die permanently. Other creatures—such as dredgers and stewards—are endemic to the Shadowlands and are naturally born from the magic of death to serve the different realms and help facilitate the process of the afterlife. If one such creature of death is killed, their energy is recycled back into the Shadowlands, and eventually another member of the same race will manifest to take the place of the one that was killed.
The final destination of the spirits of the deceased remains a mystery to the priests and philosophers of Azeroth. However, as spells such as [Resurrection] can reunite a dead body with its spirit, and a majority of living creatures from the tauren to the troll shadow hunters claim they can communicate with and call upon the power of the spirits, a widely held belief is that the spirits of the dead remain on the Material Plane — in an immaterial state that can only be altered or contacted through the use of magic.
Shadowy Tormentors inhabit this dimension, and emerge from it to torment death knights such as Koltira Deathweaver. The Lich King originally kept them at bay, but after the Knights of the Ebon Blade left his service, the tormentors are now loose upon them. He even appears in the World of the Dead, as he calls it, riding a frost wyrm during  The Power to Destroy.
Sometimes, the spirits roam the Shadowlands without resting. It can be because their resting place wasn't complete, because of a battle in their resting place or because of the corruption of their resting place. To bring eternal peace to the souls, it is needed to destroy the source of corruption or by making a ceremony with items such as [Tuskarr Ritual Object]. A spirit in the Shadowlands can, with enough power over other souls, tear a hole into the living world once they are strong enough. This is how Jin'do returned to Azeroth.