Red Hat interview question

What is a firewall ?