As Gizmo says, the Moon orbits the Earth. As well as this, of course, the Earth rotates on its axis. It is this second thing that makes both the Sun and the Moon “rise” and “set”. Leaving aside the difference in elevation caused by the seasons (which is, in fact, caused by the Earth’s journey around the Sun and the fact that the Earth is tilted on its axis) the Sun appears roughly in the same place every day. At noon it is near enough as high in the sky as its gets during the day. This is not the same for the moon. The moon travels around the Sun in about 28 days. If you look at where it is at, say, 8pm on Monday, at 8pm on Tuesday it will be one twenty-eighth of a circle (about 12.8 degrees) behind where it was on Monday. It takes it about 50 minutes to catch up with where it was the day before. This is also the reason why the tides of the sea are later every day. There are two “high tides” each day and they occur opposite each other on the parts of the Earth’s surface that are directly in line with the Moon. Each high tide occurs about 12 hours and 25 minutes after the previous one.
(Note this is a simple explanation; there are other factors, too complex to go into here, that vary the above figures slightly).