ORBs handle the transformation of in-process data structures to and from the raw byte sequence, which is transmitted over the network.
In object-oriented languages, an ORB actually provides a framework which enables remote objects to be used over the network, in the same way as if they were local and part of the same process.