You asked:

does the moon orbit the sun

Yes. The moon is a satellite of the Sun.
the moon
the moon
the moon

the Sun
the Sun
the Sun