What are the differences between forward proxy server and reverse proxy server?

What is forward proxy

When a server acting on behalf of a consumer is called a web proxy or forward proxy.

Reverse proxy

When a server is acting on behalf on a service or a producer is called a reverse proxy.

Diagram of forward and reverse proxy

forwar proxy and reverse proxy