What is the difference between switching and routing? Short and brief

Switching involves directing data packets within a single network, while routing involves directing data between multiple networks. Switching operates at Layer 2 of the OSI model, while routing operates at Layer 3.