Whois is a protocol to query information about a domain or a ip address.
The data returned when performing a whois request is very useful to be able to identify and report scam websites.
For instance, the registration date is a very good indicator as new websites are more likely to be scam as old websites.
Furthermore, each provider has to provide a abuse contact in the whois record. This can be used to directly report the website.