Portal

A portal was a tear in space and time, that allowed a being to travel to different locations across the galaxy. The Jedi Temple on Lothal had a mural which opened a portal to the World between worlds, where many other portals could be accessed across the space-time continuum. Ezra Bridger heard voices emanating from many portals, and witnessed a portal to the duel on Malachor between Ahsoka Tano and Darth Vader. Ezra was able to alter Ahsoka's fate by pulling her through the portal into the world between worlds, effectively saving her life. Palpatine was also able to create a portal to the world between worlds from his domain, but needed Ezra to fully access the power this dimension held. Ahsoka returned to Malachor through her portal, presumably still in 2 BBY, after Vader had left.