A DNS query is a request made by a client to a DNS server to resolve a domain name into an IP address, enabling the client to locate and communicate with the server hosting the desired resource. This process is crucial for internet functionality as it allows users to access websites using human-readable domain names instead of numeric IP addresses.