A firewall is a type of software programmers use to protect a network from outside connections. It monitors, filters and analyzes a network's outgoing and incoming traffic based on its preset security policies. It can protect your computer data by managing network traffic and blocking unsolicited incoming traffic.