The main purpose is optimizing memory consumption and performance when generating large pdf documents.
Resource: https://www.telerik.com/blogs/pdf-stream-processing-reliable-and-efficient-processing-of-pdf-files