PDF files contain text, images and other element of content that are combined together to make up an electronic document. In addition, there is a set of instructions which defines the logic of binding the content together known as Structure. The structure defines the correct reading order of a PDF file.
In a PDF file, the structure is known as Tags. These tags are the hierarchy of containers describing the semantics of the content inside them and are represented in an invisible layer behind the visible PDF content.