Serialization is the process of transforming data or an object in memory (RAM) into a stream of bytes called byte streams. These byte streams, in a binary file, can then be stored on a disk, in a database, or sent through a network. The serialization process is also called pickling.
Deserialization or unpickling is the inverse of the pickling process, where a byte stream is converted back into a Python object.