Internet traffic flows through the remote server so that Internet services communicate with it directly and not with the local system. From there, connections to the Internet are established.
A secure connection is created from the local computer system to a remote server that is maintained by the VPN company. Regardless of for what it is used for, it works always in the same way.