Layer 3, the network layer, is the OSI model layer that uses logical (IP) addressing.
Wikipedia
In the seven-layer OSI model of computer networking, the network layer is layer 3. The network layer is responsible for packet forwarding including routing through intermediate routers.