Why do webpages have URLs?
Short answer
A URL distinguishes a resource on the Web so a browser and a person can specify the intended page.
How it works
A URL can contain a scheme, host, and path. Similar-looking URLs can identify different destinations.
Key point
The practical point is this: Similar-looking URLs can identify different destinations.