When a reverse proxy proxies a request, it sends the request to a specified proxied server (http or other), fetches the response, and sends it back to the client, as if it came from the reverse proxy itself.
More information: https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/