WHOIS is a query-and-response protocol widely used to look up an official database and find out who owns a domain name, an IP address, or an autonomous system number on the internet. The command-line client is also called whois, short for the WHOIS directory service.
To see it in action, try running whois google.com. The result will show you exactly who owns Google.com.