

A Firewall works similar to a door. It lets good things in and keeps the bad things out.
Good firewalls will actively block any malicious incoming traffic while still allowing you to use the internet.
Most firewalls will also prevent your computer from connecting to unwanted servers and from sending personal data to other computers or internet sites.