Capital One interview question

What is a Firewall and what does it do?