In a web application, a route links a family of paths to the function that answers them, such as every path /book/<number> to the function book. The dispatcher is the function that receives each request, finds its route, and calls that function with the parts of the path it needs.
/book/<n>, / and /search with richer ones.