How does a clock work toy work?

Can you answer this question?