A firewall is hardware or software that controls which information passes between your computer to the internet. A firewall also determines who or what can access your computer while you’re connected to the Internet.