VPN masks real user IP and encrypts all internet traffic to and from a device. SOCKS5 on the other hand is application-specific.