A whois query tells you information about a domain name registration; who registered it, when they registered it, when it expires and also what server it's pointing at.

The tool is easy enough to use. Give it a domain name, and it will show you the whois output for that domain.