Domanda di colloquio di Netcraft

How does HTTPS work, and how does it prevent adversaries from intercepting traffic?