What is DNS (Domain Name System) and its role in web hosting?

DNS is a system that translates human-readable domain names (e.g., www.example.com) into IP addresses that computers can understand. In web hosting, DNS helps users access websites by directing their requests to the correct server, making it an essential component for website accessibility.