A VPN encrypts your connection to the Internet and masks your IP address. This prevents your ISP, government, hackers, app/addon developers from logging what you are accessing while online.