The document discusses session layer purpose in OSI model and Secure Socket Layer (SSL). SSL primarily does encryption and identification to securely establish a session between two systems for encrypted communication. It involves the systems agreeing on an encryption method using keys, ciphers, hashes and versions. The server then sends its SSL certificate including public key to the client, which uses this to create a session key and send it back encrypted by the server's public key. The server decrypts this with its private key and acknowledges, and all further communication is encrypted with the session key.