The domain name system is a distributed database arranged hierarchically. Its purpose is to provide a layer of abstraction between other Internet services (web, email, etc.) and the numeric addresses (IP addresses) used to uniquely identify any given machine on the Internet.
This has several advantages:
There are more benefits, of more esoteric nature.
This is all accomplished using resource records, which are organized into zones, which are in turn hosted by authoritative name servers.