A WHOIS search will provide information regarding a domain name, such as example.com. It may include information, such as domain ownership, where and when registered, expiration date, and the nameservers assigned to the domain.
There are several reasons when a WHOIS search may not provide useful results.
Private WHOIS provided by registrar to protect a domain name's details.
The domain name is not registered.