In the history of science, the clockwork universe compares the universe to a mechanical clock. It continues ticking along, as a perfect machine, with its gears governed by the laws of physics, making every aspect of the machine predictable.
This idea was very popular among deists during the Enlightenment, when Isaac Newton derived his laws of motion, and showed that alongside the law of universal gravitation, they could explain the behaviour of both terrestrial objects and the solar system.
A similar concept goes back, to John of Sacrobosco's early 13th-century introduction to astronomy: On the Sphere of the World. In this widely popular medieval text, Sacrobosco spoke of the universe as the machina mundi, the machine of the world, suggesting that the reported eclipse of the Sun at the crucifixion of Jesus was a disturbance of the order of that machine.
Responding to Gottfried Leibniz, a prominent supporter of the theory, in the Leibniz–Clarke correspondence, Samuel Clarke wrote: