OSI model

The Open Systems Interconnection model (OSI model) is a method of thinking of computer networking in terms of abstraction layers. Different communication protocols with similar functions are grouped into different logical layers on the OSI Model. Each layer of the OSI Model makes use of functions provided by the layers below it and provides functions that are used by the layers above it. There are 7 layers. 
The OSI model is a way of thinking about protocol stacks. 
Description of OSI layers.
According to the standard OSI Model there are seven layers. Each layer is dependent upon the layers below it to function.
Some aspects of computer networking, such as management and security, use or are used on every layer.
Layer 7: Application layer.
The application layer provides an interface for the end user operating a device connected to a network. This layer is what the user sees, in terms of loading an application (such as Web browser or e-mail); that is, this application layer is the data the user views while using these applications. Examples of application layer functionality include: 
Layer 6: Presentation layer.
The Presentation Layer would be able to properly interpret a message sent through the network. This layer is responsible for the proper translation or interpretation.
Layer 5: Session layer.
The Session Layer establishes request/response communication. When needed, a session is started with authentication, after which a request is sent. After a response the session might be ended or a new request is sent. This is the first layer where a client/server concept is introduced. Where a specific device might change the role from client to server or vice versa.
Layer 4: Transport layer.
The Transport Layer is the level at which system reliability and quality are ensured. This layer manages traffic flow through the network layer to reduce congestion on a network, and performs error checking ensuring quality of service by resending data when data has been corrupted. Some of the most popular methods of encryption and firewall security take place on this layer.
Layer 3: Network layer.
The Routing Layer works to coordinate related parts of a data conversation to ensure that large files are transferred. In other words, while the data link layer deals with the method in which the physical layer is used to transfer data, the network layer deals with organizing that data for transfer and reassembly. This layer also handles aspects of Routing Protocols, finding the available [best] path(s) from one network to another to ensure delivery of the data.
Layer 2: Data link layer.
The Data Layer is mainly the method in which information from the network is broken down into and transmitted over the physical layer. This layer is also responsible for some Error detection and correction and some addressing so different devices can tell each other apart in larger systems.
Layer 1: Physical layer.
The Physical Layer refers to electrical and physical aspects of devices. In particular, it specifies how a device sends and receives information, such as using copper wires or fiber-optic cables. Examples of this include Ethernet or fiber optic cables, phone cords used for dial-up or DSL services, the coaxial cable used to provide broadband internet, the wires used to connect various components of a computer or even the radio signals used in wireless communication. Other functions of the physical layer include the conversion of signals into something that another layer can use (referred to as a bit), and adjusting the signal to allow for multiple users to use the same connections.