A CAPTCHA is a program that protects websites against attacks by generating and grading tests that only humans can pass.