Here's why:
* The Solar System is part of the Milky Way galaxy. It's located in one of the Milky Way's spiral arms, about 26,000 light-years from the galactic center.
* Andromeda is a separate galaxy. It's the closest major galaxy to our own, but it's still a vast distance away, approximately 2.5 million light-years from the Milky Way.
Think of it like this: Imagine the Milky Way is a giant city, and the Solar System is a neighborhood within that city. Andromeda is a completely different city, miles and miles away.