Spiders are automated bots used by search engines to crawl websites, gathering information for indexing and ranking.