The Earth and the Moon together makes up one system (EM system). Now, think of EM as a single object. EM and the Sun makes up another system.
I'm guessing the same applies to solar systems too, which is why planets are not pulled (any more han stars) towards the centres of galaxies.
PS do galaxies also orbit each-other? And why don't moons have their own satelites etc etc ?
All the best
Human Evolution in 42 Steps