What is a WhoIs search?
If a Domain Name is already registered, a WhoIs search will give you the details of whom it is registered to. If it is not registered no details will come up this it is an available registration.
Each registrar is responsible for creating and maintaining a WhoIs database for their customers.