Cisco interview question

How does IP routing work?