the machinery (such as springs and a train of gears) that run a clock; also : a similar mechanism running a mechanical device (such as a toy)
clockwork
noun(clock-work)
the precision, regularity, or absence of variation associated with a clock or clockwork —used in the phrase like clockwork to describe something that happens or works in a regular and exact way