By flattening a PDF, you merge multiple previously separated layers of a PDF document into one, and flattening PDF is widely used in making the editable PDF read-only.