Problem Statement
What is the function of a firewall?
Explanation
A firewall monitors and controls incoming and outgoing network traffic using predefined security rules. It acts as a barrier between trusted and untrusted networks, protecting against unauthorized access and attacks. Firewalls can be hardware, software, or both.
