Inside of a clock: There are many mechanical gears, they are connected to each other, turning a certain time will make a thumping sound.