From the fact that in order to transmit any information you need to put all parts of that information into a series of bytes.
In order to transmit a record full of information you would have to "serialize" all the bytes that comprise the record, send them over the wire and at the other end would have to deserialize them back into a record.
With the advent of client / server applications, the concept was generalized to serializing objects into some kind of (textual) form that could be transmitted across a network and deserialized back into objects at the other end.
Client / server communication started with several proprietary protocols that handled the deconstruction and reconstruction of object before and after transmission between client and server. With SOAP for client server communication xml became a defacto protocol standard for the textual representation of objects. Javascript and the abundance of web clients using it brought the need for a more concise representation and led to Json.