mechanism

Definition

A system of parts working together to perform a function, often in a machine; a natural or established process by which something occurs.

Example

"The watch's intricate mechanism kept perfect time."