What is pickling and unpickling in python?

Pickling is about serializing the object structure in python. Pickle module accepts any python objects and converts it into a string represesntation and dumps it into a file using a dump function, this process is known as pickling.

Unpickling is the process of retrieving original python objects from the stored string representation i.e from the pickle file. it is the process of converting a byte stream into the python object hierarchy.