What is firewal

What is Software firewall
What is hardware firewall