The sun has an orbit (earth is in it), but the sun is also orbiting the galactic center. Together with our entire solar system. The entire milky way is also orbiting a shared center of mass together with the Andromeda galaxy.
Maybe I'm wrong, but I think at this point we're not talking about actual "orbits" anymore. Or at least not clean orbits. Afaik, galaxies and clusters are more drifting through the universe, always affected by each other's gravity to different degrees, but not orbiting a clear center of mass.
Yeah, I'm not sure I'd say that the Milky Way and Andromeda are orbiting one another either. At some point, a third galaxy could come close enough to tear either galaxy away like some sort of hand off. We can say that MW and Andromeda are affecting each other's movement.
9
u/MyPigWhistles 12h ago
The sun has an orbit (earth is in it), but the sun is also orbiting the galactic center. Together with our entire solar system. The entire milky way is also orbiting a shared center of mass together with the Andromeda galaxy.