What is the primary function of Network Address Translation (NAT) in a networking environment?
Translating private IP addresses to a public IP address for internet access
Encrypting internet traffic to protect data confidentiality
Assigning IP addresses to devices on a network
Redirecting data packets to prevent network loops