It takes advantage from google searching tools, you can get database with emails and passwords storage randomly an example is - filetype:txt site:web.com passwords|contraseas|login|password
it's a search string that uses advanced search operators to find information that is not readily available on a website. In other words, we can use Google Dorks to find vulnerabilities, hidden information and access pages on certain websites.