How does a jig work?

Can you answer this question?