How does imprinting work?

Can you answer this question?