They are both in space.
The milky way galaxy
they are all spherical in shape
The Earth, moon, and sun are all things in outer space (:
The moon is cold and it has craters . The sun is hot and has lava all over it!
the sun
the gravitational pull of the sun and moon
the sun
Ummmm.... No. The Moon orbits the Earth. The Earth orbits the Sun. The Sun orbits the center of the galaxy. Light things in orbit, heavier things in the center of the orbit. Well not exactly, they revolve around their common center of mass. This may or may not be at the exact center as far as distance. The common center of mass of the Moon and the Earth is located inside the earth, but not at the center of the Earth.
Sun and moon
When the earth is between the moon and the sun, a full moon occurs. In the less common instance when the Earth is between the moon and the sun and all three are in line, a lunar eclipse occurs.
They both orbit the Sun
they both light up stuff