ReliaQuest interview question

Explain Routing and Switching.