I searched a lot and finally came to this conclusion.Which part is confusing you? I'm not sure any of us will be able to do better than the Internet at explaining the overall picture unless we have some specific context to aim at.
Suppose there are 3 computers in your home. One of your brother, one of your sister and one of your father. All of them use the same router to access the internet. Now, what NAT (Network Address Translation) does is that you and your family have the same public ip address if you all browse at the same time (but not the same private ip). If any of you use the internet from any computer, then the same (public) IP address is used to request a connection from the server. From the perspective of the server, only one computer is requesting the information. So, NAT provides some security layer. What NAT does is translate between private and public ip address.
What I mentioned above correct? How is NAT related to peer-peer/server hosting/gaming? What is port forwarding and how it can help to host servers or to play a match in peer-to-peer ?