The Sixth layer of the OSI model is the presentation layer. The presentation layer controls two aspects of the data exchange between the communicating systems, and those two aspects are syntax and semantics. Data is to be converted into syntax and semantics.
So, what are syntax and semantics? Data is converted into syntax and semantics. The syntax is the structuring or arrangement of the data or information arranged in an ordered way. Next is semantics; semantics is referred to as adding logical meaning to the data or information. This gives the functions of the presentation layer:
The presentation layer performs compression. Compression generally is used to reduce the size of the data for easier transmission without exploiting a large portion of the transmission. The bandwidth of the channel is done by reducing the number of bits in the data without compromising the quality of the data, and that is called data compression. This is the process of encryption and decryption; the sender’s device converts the original data into the coded form using a cypher, and again at the receiver side, the coded data is again converted into original data through this process.
The data packet structure in the presentation layer, as usual, consists of two portions: first is the header portion, which is used for identification of the sender and receivers address, and it stands for header 6 because it is the sixth layer of the OSI model. These are the data bits of the data which is to be transmitted, so again there are arrowheads in both directions because the data transmission and reception innovation model is bi-directional both from sender to receiver and from receiver to sender.
There’s more than just one layer in the iOS model, so if you have an interest in this mechanism, do make sure to learn of them as well.