What is the difference between Azure Firewall and Network Security Group

How do NSGs work in Azure? What is the difference between inbound and outbound rules?"

How does VNet Peering work across regions in Azure?

What are the different types of VPN?

what is the bastion purpose in vm?