This gives you online privacy and anonymity, and security against cyber criminals gaining access into your Wi-Fi connection and intercepting the data that gets sent and received while you browse online. Your browsing data, while connected to the VPN, is encrypted and associated with the IP address of the VPN server rather than that of your Mac.
A VPN essentially creates a secure tunnel between your Mac and the VPN server.