The story
The founder of Automattic, Matt Mullenweg, says that he decided to create Akismet so that his mother could blog in safety. In 2005, there were discussions about how to deal with comment spam, and only a few plug-ins were available for that purpose at the time. Mullenweg's first attempt was a JavaScript plug-in that modified the comment form and hid fields, but within hours of its launch spammers downloaded it, figured out how it worked, and bypassed it.
In late 2005, Mullenweg launched the Akismet plug-in for WordPress. Each time someone posts a comment to a participating website, Akismet checks it against all the comments in the database. If it is spam, it is deleted. If spam gets through and a user marks it as spam, the comment is added to the database so the pool of spam comments widens, making Akismet increasingly effective over time.
From Wikipedia’s article on Akismet, shared under CC BY-SA 4.0.4