Similarities:
They both play a part in a browser and a website and are both very important.
Differences:
Because majority of URL use have the domain name instead of the IP address, it is necessary to process the request through a Domain Name Server (DNS) in order to convert the domain name into an IP address. The development of URL stemmed from the fact that IP addresses are a lot more difficult to remember than words that are related to the site’s content or purpose.