Virtual Private Network
There are some scenarios where VPN will be used.
Scenario 1: When you are at any railway station or airpot, suddenly you have realized that you have not downloaded the ticket or you want to access the file which require in urgent basis. Then you will connect public wifi.
Scenario 2: When you are working from home and your company server is located at other location. Then it is not necessary a leased line (private connection) should be maintain to communicate with it. It will use your public internet i.e www. so that you can transfer the file to the company server and you can take the file from that server. But here, ISP will track your info. So someone is seeing this info, in order to avoid this we use VPN. We can use public internet in a virtual way as a private network so that the internet will be dedicated to you an company server. It will establish secure and reliable connection over unsecure network (internet).
For eg if you want to connect comapny server, first it goes to wifi / router. It will assign the ip address to you. Then wifi will connect to the server of ISP. From ISP, it will connect to company server. We will install VPN client on machine so that it will encrypt the data and company server has an ability to decrypt the key.