A name server is the Internet-wide system for connecting domain names, like yahoo.com, to their respective web servers. Name server translates domain names to their corresponding IP Address.
Without name server, users would have to visit their favourite web sites by typing in numbers instead of their names.