Bots serve various purposes. Some bots are beneficial, such as search engine bots that index web pages for search results. However, there are also malicious bots created to engage in fraudulent activities, spamming, scraping content, launching DDoS attacks, or committing ad fraud.