A URI differentiates between different resources using their name and location. On the other hand, a URL determines the specific location of a resource on the web.