Both are not related in anyway. In the context of an IPv4 internet connection, NAT is necessary cause there are not enough public IPv4 addresses to assign each device in your network a unique public IP address. Some isps assign a single public IPv4 address dynamically or statically, and each device on your network gets a private IP address which gets NATd when trying to talk to the public internet.
In case of IPv6 NAT isn’t necessary cause each device gets a publicly routable IP address.