A firewall is a security system that protects your network from known and unknown cyberthreats. It keeps a watch over all east-west, north-south network traffic based on pre-set security rules, regulations and policies. But, this is a very simplistic definition of network security as next-generation firewalls are feature-rich and offer many more security features that protect diverse network segments.