A Domain Name System (DNS) translates website names into IP addresses that computers understand. A web hosting service stores the actual website data and files on a server, making them accessible over the internet. They are interdependent but perform distinct functions.