DeNA Interview Question

How does HTTPS work?