A VPN encrypts traffic to its server and hides your real IP, helping on public Wi-Fi and during travel, but it does not provide anonymity, stop phishing or replace antivirus software.
A VPN creates an encrypted tunnel between your device and its server, so people controlling a public Wi-Fi network can see that you are connected to the VPN but not the websites you visit or the data you send through it.
This can be useful on Wi-Fi in cafés, hotels and airports, where open or fake networks may expose users to traffic monitoring or redirection. A VPN can also hide browsing domains from your internet provider, although that information is then handled by the VPN provider.
When traveling or working abroad, a VPN may provide an IP address from Spain for services that vary by country. It can also hide your IP from other users on peer-to-peer networks. A kill switch can cut internet access if the VPN connection drops.
A VPN does not make users anonymous, prevent phishing, detect malware or fix a slow connection. It also does not make copyright infringement legal. For routine browsing from a home network over encrypted websites, a VPN may add little beyond hiding activity from the internet provider. Free services may limit data, speed or servers, and some may finance their operation with user data.