When the Ahsoka TV series was announced, a key item fans wanted from showrunner Dave Filoni was to see Ahsoka meet her former master, Anakin Skywalker (Hayden Christensen). Luckily, he does return as a unique version of Darth Vader -- more human, and as expected, someone with a bit more wisdom. His arrival ties into what many expected: a trial to see where Ahsoka is mentally, at present.
Source:https://www.cbr.com/ahsokas-trial-is-better-than-the-star-wars-caves-for-one-big-reason/