Their are five layers of networking which are as follows:
1. Physical layer
2. Data Link Layer
3. Network Layer
3. Transport Layer
4. Application Layer
Now i explain one by one with the short introduction.
Physical Layer
It maintains the physical connection between the sender and the receiver. This layer also tell us about the connection type and also the type of signals like electrical,radio etc.It contain all the hardware devices like computer , modems and hubs.It is also called the first layer of networking.
Data Link Layer
It works on moving the information or massage from one PC to another PC in the defined network path from the sender to the receiver.It also control physical and decides when to send a massage and over which media. It also give shape to massage by indicating the where it start and where it ends.In case of any error during transmission it detects and correct it.It is also called second layer of networking.
Network Layer
This layer do following functions like routing , selecting the next PC to whom massage was sent.For sending massage we must know about the address of next PC so it also works on that.It is also called third layer of networking.
Transport Layer
It works on linking the application layer software to the network and forms connection between two PC when it is needed.In case of any lost massage it detects it and resent it.It is also called fourth layer of networking.
Application Layer
It is application software which is used by network user.With the help of this the user defines what massage are sent over which network.Typical examples are Google Chrome and other web pages.It is also called fifth layer of networking.