The domain name was created to make it easy to remember and allow IP addresses to be shorter and friendlier. Each server has one or more IP addresses assigned, for this reason a domain name helps not have to memorize each IP address number.
Registering a domain helps us remember the address where the page is hosted with the information we want to visit.