By routing your activities through a VPN server, a high-quality VPN encrypts data and protects your IP address; even if someone tries to monitor your traffic, all they will see is the IP address of the VPN server and nothing else. Beyond that, only the data you give websites or services you log into can be used to track you.