which is closer to earth a moon or galaxy?

Moon is pretty close.

A galaxy is millions of light years away o.O

To determine which is closer to Earth, we need to understand the scale of distances involved.

A moon is a natural satellite that orbits around a planet. Our planet, Earth, has only one moon, called the Moon (technically known as Luna). The Moon is approximately 238,900 miles (384,400 kilometers) away from Earth on average.

On the other hand, a galaxy is a vast system of stars, planets, gas, dust, and other celestial objects held together by gravity. Our Milky Way galaxy, in which our solar system resides, is massive. It contains billions of stars and is about 100,000 light-years in diameter. A light-year is the distance that light travels in one year, which is roughly 5.88 trillion miles (9.46 trillion kilometers).

Considering these measurements, it is evident that the Moon is significantly closer to Earth compared to a galaxy. While the Moon is less than 240,000 miles away, the nearest galaxy to our Milky Way (Andromeda Galaxy) is around 2.537 million light-years away.

Therefore, the Moon is much closer to Earth than any galaxy.