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