Use of returnUrl as extendedPortletParameter

Hi all,
can any one explain the use of returnUrl as extended portlet parameter in extended portlet Url control.
is it a MWS internal parameter which is set by mws every time we navigate?
how can we use it in portal development?
I would be of great help if explained with an example.

Thanks in advance,