NAT (Network Address Translation) is a router function that allows multiple devices on a local network to share a single public IP address when accessing the internet. It translates private IP addresses to a public one and vice versa. This conserves IP addresses and adds a layer of security by hiding internal network addresses.