Port numbers direct network traffic to the correct application or service on a device (e.g., web on port 80, email on port 25).