In *The Rise of Skywalker* a scene takes place in the remains of the second Death Star. 

It is mentioned in the script that it’s located on a moon of the Endor System, but it not clear if it’s the same Forest Moon of Endor as seen in *The Return of the Jedi*. 

Is is the same moon? If not, how do the remains of the Death Star end up on a different moon to the one it was in orbit of?