A proxy, or forward proxy server, sits in front of a group of client machines and works as a middleman between a client and a server.
And a reverse proxy server sits in front of a group of servers that host the same site. It can be used as a load balancer.
The difference between a forward and reverse proxy is subtle but important. A simplified way to sum it up would be to say that a forward proxy sits in front of a client and ensures that no origin server ever communicates directly with that specific client. On the other hand, a reverse proxy sits in front of an origin server and ensures that no client ever communicates directly with that origin server.
For more, follow:
https://www.cloudflare.com/learning/cdn/glossary/reverse-proxy/