TCS Management interview question

What is reverse proxy, how it works internally?