When they were first introduced, CAPTCHAs were very effective at stopping bots. Nowadays, they are less effective thanks to advances in machine learning, but a CAPTCHA still stops a good deal of unsophisticated bot traffic.