Verizon interview question

How does IPSec work?