The Realm of Shadows may be the same World of Shadows as the one that becomes visible when a [Elixir of Shadows] is consumed. It may also have something to do with shadow magic and shades. Death knights, necromancers, and undead as a whole share a strong connection with the Realm of Shadows from many hints that can be seen in-game. In the death knight starting zone, death knights are given the task to enter the Realm of Shadows in order to gain their Deathcharger. Later on, death knights are eventually able to learn the ability [Raise Ally] which pulls their ally's spirit back from the Realm of the Dead and forces it back into their body. Upon doing so, a buff is applied to the player stating that: "A touch of the spirit realm still lingers..." This shows that death knights and necromancers both have a connection to the Realm of the Shadows/Dead to perform necromancy which furthers the idea that they actually are drawing their magical power from it.
Furthermore, upon the Lich King's death he even spoke of "Seeing only darkness before him" while Sylvanas Windrunner said the same in Silverpine Forest after being risen from the dead by the Val'kyr. This may hint that because undead, death knights, and necromancers are connected to the Realm of Shadows when they die (again) they actually become apart of the Realm of Shadows and are forced to wanders in its dark mists for the rest of eternity. If this is so, then it can also be implied that when a death knight is given his/her own personal runeblade, the runeblade is actually used to bind the individual to the Realm of Shadows in mind and body, making it impossible to ever be rid of the death knight curse. In Howling Fjord, players are even able to witness the Lich King himself standing within the Realm of Shadows with two Val'kyr. The idea that necromantic magic and death knight runes drawing power from the Realm of Shadows itself is not yet proven, but it is heavily supported by in-game quests and lore.
The Shadowlands has long been referenced in World of Warcraft lore, but their origins and true nature remain a mystery. One thing is for certain; the Shadowlands are inextricably tied to death and decay. It stands opposed to the verdant spiritual realm of the Emerald Dream, which represents a vision of reality untarnished by corruption and mortal intervention.
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.