What is the meaning of marshalling and unmarshalling? Why is it done?

Dermot Hennessy

Marshalling is serialising an object to enable it to pass across process boundaries efficiently (normally conversion to a byte stream). Unmarshalling is carried out in the other process to reconstruct the original object from the serialised version.