Basicly it’s kinda like regular proxy, but it offer more features.
Socks5 is protocol that communicates between a client and the server through a proxy server, to understand socks5 let us first briefly explain a proxy server proxy server is a computer that acts as a gateway between a local network and a larger network the local network could.
For example be on the computers at a company or the local computer in your home and the local network could be the internet or some other servers, the client connects to the proxy server and request some resource that is available from a different server the proxy server evaluates the request as a way to
simplify and control its complexity and then forward it to the server.
The server sends back the resource through the proxy which in turn senses back to the client.
the advantage of socks5 is that it offers more choices, Authentication and security and also can work with any protocol used for sending packets over the Internet.