What is a captcha?
Early CAPTCHAs asked visitors to read distorted text or pick images. Newer ones mostly run in the background, score the visitor from signals in the browser, and show a puzzle only when unsure. Either way the widget puts a token in the form, and the server checks that token with the CAPTCHA provider before accepting the submission.
A CAPTCHA stops many bots, but it has costs. It adds a third-party script to the page, can be hard for people who use screen readers, and makes some real visitors give up. Checking the token also needs server code, so a CAPTCHA alone does not work on a static site.
Many forms do not need one. A honeypot field, timing checks, content filtering and rate limits stop most spam without asking visitors for anything. FormTango filters spam automatically. A form owner can switch a CAPTCHA on for a form, and submissions without it are then refused with a 400 response.