Tech Mahindra interview question

What is Serialization in Java?