Amazon interview question

How does back propagation work?