The Network Layer is the third level of the Open Systems Interconnection (OSI) Model and the layer that provides data routing paths for network communication. Data is transferred in the form of packets via logical network paths in an ordered format controlled by the network layer.
Logical connection setup, data forwarding, routing and delivery error reporting are the Network Layer’s primary responsibilities.
Source: Network Layer