Serialization is the process of converting an object (in memory) into a stream of bytes (for storage or transmission).
Deserialization is the reverse: taking bytes and reconstructing the object.
Why is it risky?
If the application deserializes data from an untrusted source without validation, an attacker can manipulate the serialized data to create malicious objects.