The working of the 7 Layers of the OSI Model are as follows:
- Physical Layer: It coordinates the functions required to transmit a bit stream over a physical medium. It provides a physical interface for the transmission of information. . It defines rules by which bits are passed from one system to another on a physical communication medium. It covers all mechanical, electrical, functional, and procedural aspects of physical communication.
- Data Link Layer: The data link layer is responsible for moving frames from one hop (node) to the next. It breaks the outgoing data into frames and reassembles the received frames. It Handle errors by implementing an acknowledgement and retransmission scheme.
- Network Layer: The network layer is responsible for receiving frames from the data link layer and delivering them to their intended destinations based on the addresses contained inside the frame. The network layer finds the destination by using logical addresses, such as IP (internet protocol). At this layer, routers are an important component used to route information where it needs to go between networks.
- Transport Layer: The transport layer manages the delivery and error checking of data packets. It regulates the size, sequencing, and ultimately the transfer of data between systems and hosts. One of the most common examples of the transport layer is TCP, or the Transmission Control Protocol.
- Session Layer: The session layer controls the conversations between different computers. A session or connection between devices is set up, managed, and terminated at layer 5. Session layer services also include authentication and reconnections.
- Presentation Layer: The presentation layer formats or translates data for the application layer based on the syntax or semantics that the application accepts. Because of this, it it is times also called the syntax layer. This layer can also handle the encryption and decryption required by the application layer.
- Application Layer: The application layer is used by end-user software such as web browsers and email clients. It provides protocols that allow software to send and receive information and present meaningful data to users. A few examples of application layer protocols are the Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP), Post Office Protocol (POP), Simple Mail Transfer Protocol (SMTP), and Domain Name System (DNS).