Hi,
In Azure when you deploy a VM the following components gets deployed along :
NIC
Network Security Group
Public IP
Disk
A NIC is a component which holds the Public IP and the private IP of the VM. Also you can associate the NSG to the NIC.
NIC can be deployed in a subnet of the Virtual Network.
Hope this helps!