DigitalOcean interview question

At a high level how does SSL work?