A crawler is a program that fetches pages automatically by following links, building an index without a human in the loop.
A crawler starts from a seed set of URLs. It fetches each page, parses the HTML, extracts new URLs from href attributes, adds them to a queue, and repeats. The queue is prioritized by heuristics: internal pages before external ones, frequently updated pages before stale ones, high-authority pages before unknown ones. The result is a graph traversal of the web.
Googlebot, Bingbot, DuckDuckBot, Baiduspider, YandexBot and Applebot are the major search-engine crawlers. The Internet Archive's Heritrix is the best-known archival crawler. SEO tools (Ahrefs, Semrush, Screaming Frog) run their own crawlers to audit sites. wget --mirror, httrack and scrapy are common building blocks.