IP is responsible for routing packets across networks and delivering them to their final destination.