When VPN was first designed, the sole purpose of the invention was to create a tunnel between distant computers for remote access. And, it was successfully achieved. But later on, VPN was more commonly used to switch between different locations IPs. Till to date, the sole purpose of a VPN is protecting the original IP of its user by simply hiding it with one of its own servers.
In simple words, when we connect to a VPN, our original IP (assigned by the Internet Service Provider) is replaced by one of the VPN servers IP. For example, if your ISP assigned you an IP of London (as you are in London) 1.142.35.6 and when you connect to a USA server via VPN your IP will change to 2.354.452.2. This way your original IP will remain anonymous and not even your ISP can track your online footprints.
Learn More