Routing is the process in which items are forwarded from one location to another. Routing is a hop-by-hop paradigm.
A Cisco router performs routing and switching functions. Describe what each function does.
Routing is a way to learn and maintain awareness of the network topology. Each router maintains a routing table in which it looks up the destination Layer 3 address to get the packet one step closer to its destination.
The switching function is the actual movement of temporary traffic through the router, from an inbound interface to an outbound interface.