It is a network security system set on the boundaries of the system/network that monitors and controls network traffic. Firewalls are typically used to protect the device or network from viruses, worms, malware, etc. Firewalls can also be used to prevent remote access and content filtering.