This process masks your real IP address, replacing it with the IP address of the proxy server. Consequently, the destination website sees the request coming from the proxy, not your device.
You can review the server-side code and execution logic on the rsa16/rammerhead-proxy GitHub Repository or the heavily used binary-person/rammerhead GitHub Fork Configuration Files: rammerhead proxy