A VPN encrypts internet traffic and hides the user's IP address, providing a secure and private connection, especially when using untrusted public networks.