The presentation layer is responsible for data representation, compression, encryption and formatting for transmission between applications. It encodes application data into messages and decodes received messages. Common data representations include ASN.1 and XDR. Lossy and lossless compression techniques are used to reduce file sizes. Encryption transforms plaintext into ciphertext using keys to protect confidentiality during transmission.