Kaguya's Dimensions

are a gathering of alternate spaces that Kaguya Ōtsutsuki has access to through the use of Amenominaka. The first dimension was first shown after Kaguya's resurrection. Wishing to not fight on the world that she viewed as her "nursery", Kaguya transported both Team 7 and Obito Uchiha to the mysterious world and over a widespread river of lava. Kakashi states that Kaguya has the ability to literally rewrite all aspects of the dimension instantly, a phenomena he also compares to the creation of genjutsu. There are a total of six interconnected dimensions which she can teleport to by creating portals.

Kaguya has the ability to travel between any of her six dimensions as she sees fit.

Trivia

 * Some Space–Time Ninjutsu, such as Kamui, are also capable of opening portals between Kaguya's dimensions, but only while in the main, mountainous dimension, or by linking the technique to Kaguya's own portals. This requires an extremely large amount of chakra.
 * After the war ended, Sasuke Uchiha has been using an unspecified technique to enter the six dimensions to check for any potential enemy that Kaguya was preparing for. This was very taxing on his chakra, and he temporarily lost access to his Mangekyō Sharingan and his Rinnegan lost its tomoes.
 * Considering the shape of the terrain and the increased gravity capable bring anyone to their knees, the last dimension seems to be inspired in the, the torture consisted in bound an individual in kneeling position over ridged surface, with stone weights over its lap.
 * When Kaguya created an enormous Truth-Seeking Ball in her core dimension by absorbing the chakra from the victims of Infinite Tsukuyomi, it was said that it would be used to create a new dimension.