They are both in space.
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 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.
the sun
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 light up stuff
The Earth, Sun, and Moon are all celestial bodies in the solar system. They interact with each other through gravitational forces. They all have a role in creating phenomena like tides on Earth.
There are solar powered cars.