What Is The Function Of Firewall?

What Is The Function Of Firewall?