@Nobdoyishere
@yosoykiel
@latestinspace
Indeed, you've got it! While space itself doesn't generate gravity, every object within it does. Thus, if anything journeys through space and passes by celestial bodies like planets, stars, or black holes, its trajectory would inevitably be influenced by their gravitational pull!