Each crawler announces itself with a name, such as Googlebot for Google Search or GPTBot for OpenAI. A site sets rules for crawlers in its robots.txt file, and well-behaved ones follow them. A crawler is different from an AI agent. A crawler collects pages in bulk for later use, while an agent visits for one person, in the moment, to answer a question or complete a task.
Crawlers are how a site gets found. Blocking a search crawler stops a search engine from reading the site, which costs visibility in search, and blocking AI crawlers can keep a brand out of AI answers. The real risks are scrapers that ignore the rules and bots that lie about who they are, because the name a bot gives is easy to fake. The useful work is deciding which crawlers to welcome and for what purpose, then checking the server logs to see who visits.