Amazon interview question

How does SSL encryption work