An orrery is a mechanical model of the Solar System that illustrates or predicts the relative positions and motions of the planets and moons.