After being deposed as Warchief of the Horde in Battle for Azeroth, Sylvanas Windrunner travels to Icecrown Citadel in the Scourge-infested wastes of Northrend, and confronts the reigning Lich King, Bolvar Fordragon. Taking the Lich King's Helm of Domination from him, she tears it in two, shattering the veil between realities and opening a portal to the Shadowlands, Azeroth's afterlife. The Shadowlands have become warped in function during recent times. The Maw, a place in the afterlife reserved for the most sinful souls, is now absorbing all souls.
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.
The Shadowlands were originally intended to be a fully playable zone in World of Warcraft, designed for high-level play. The idea was that as deceased characters made their way back to their corpses, they'd see high-level players battling creeps in the area, which would inspire lower level players to increase their character level so they could experience the zone for themselves.
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.
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 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.
The spell called "spiritual projection" or "astral projection" brings the caster to the Twisting Nether instead of the Shadowlands; and the Twisting Nether is also referred as "realm of ghosts". However, both planes don't appear to be related, as Outland is floating on the Twisting Nether, but the Shadowlands can be reached in Outland in The Burning Crusade.
Alpha Beta PTR Vanilla 1.1.0 1.2.0 1.3.0 1.4.0 1.5.0 1.6.0 1.6.1 1.7.0 1.8.0 1.8.4 1.9.0 1.10.0 1.11.0 1.12.0 Burning Crusade 2.0.1 2.0.3 2.0.4 2.1.0 2.1.2 2.2.0 2.3.0 2.4.0 2.4.3 Wrath of the Lich King 3.0.2 3.0.3 3.0.8 3.1.0 3.2.0 3.2.2 3.3.0 3.3.3 Cataclysm 4.0.1 4.0.3a 4.0.6 4.1.0 4.2.0 4.2.2 4.3.0 4.3.2 Mists of Pandaria 5.0.4 5.0.5 5.1.0 5.2.0 5.3.0 5.4.0 5.4.7 Warlords of Draenor 6.0.2 6.0.3 6.1.0 6.2.0 Legion 7.0.3 7.1.0 7.1.5 7.2.0 7.2.5 7.3.0 7.3.5 Battle for Azeroth 8.0.1 8.1.0 8.1.5 8.2.0 8.3.0 Shadowlands 9.0.1
During the Burning Legion's third invasion, the Knights of the Ebon Blade traveled to the Shadowlands to acquire the Aggregates of Anguish, five tormented essences of powerful souls - Admiral Proudmoore, Soulbinder Nyami, Grand Empress Shek'zeer, Grand Apothecary Putress and Archmage Arugal. Salanaar required these to conjure the Steeds of the Damned for the order's new Horsemen.