When you want to save an object's state into a file or send it over the network, you need to transform it into a series of bytes. This is called serialization.
Java has a built-in mechanism for that, other options include XML or JSON.
Examples when you need this: Caching objects, making remote method calls, saving an object graph to disk.