AI Foundations / What AI Is
A working definition and honest examples.
Reviewed by Yuvaraj
Ask ten people what "artificial intelligence" means and you will get ten answers. That is not a failure of the field, it is a clue about what AI actually is, and what it is not.
A useful, honest definition:
Artificial intelligence is the effort to build software that performs tasks we normally associate with human intelligence, recognizing images, understanding language, making decisions, or learning from experience.
Notice what this definition does not say. It does not say the software thinks, understands, or is conscious. It says it performs tasks. That distinction runs through everything that follows: we judge an AI system by what it does on a task, not by any inner life we imagine it has.
For most of computing history, "software" meant rules a person wrote by hand:
# Rule-based spam filter, a human enumerates every rule
def is_spam(email: str) -> bool:
text = email.lower()
if "free money" in text:
return True
if email.count("!") > 10:
return True
return False
This works until the world gets complicated. Spammers write "fr€e m0ney," and the rule misses it. You add another rule. They adapt again. The rules multiply until no one can maintain them.
Machine learning takes the opposite approach. Instead of writing the rules, you show the program thousands of emails already labelled spam or not spam, and it discovers the patterns itself, which words, phrases, and structures predict spam. When spammers adapt, you retrain on fresh examples rather than hand-editing logic.
Answer from memory before revealing, retrieval practice is what builds durable recall.
Which statement best describes how today's AI systems mostly work?
Today's AI systems are conscious and self-aware.
Ask about this lesson, or about anything in AI. Answers cite the lessons they draw on.
Finished this lesson?
Mark it complete to earn XP, keep your streak, and schedule a review.
This is the shift that made modern AI
Nearly everything called "AI" today is the learned approach: a program that extracts patterns from data rather than following rules a human spelled out. Hold onto that, it explains both the surprising capabilities and the characteristic failures you will meet throughout this course.
Strip away the branding and almost every AI product follows the same shape:
A worked example makes it concrete. Suppose a trained spam model assigns every incoming email a probability. For a message containing "verify your account now," it might output 0.97; for a note from a colleague, 0.02. The system applies a threshold, say, 0.5, and routes anything above it to junk. Nothing in that pipeline is magic: it is a learned scoring function followed by a decision rule.
AI is already ordinary. You use it constantly:
None of these are science fiction. Each is a program that learned a pattern from data and applies it to new inputs.
The AI effect
There is an old observation in the field: as soon as a problem is solved, we stop calling it AI. Optical character recognition and chess once counted as hard AI; now they are just "software." Expect today's marvels to feel mundane in a few years.
It is easy to over-read a fluent chatbot or a striking image generator. So be precise:
Confidence is not correctness
A model can state something false in perfectly fluent language. Throughout this course, treat fluency and accuracy as two separate things, one of the most important habits you can build.
Learned models are not always the right tool. This trade-off is worth internalizing early:
A tax-form validator should be rules: the logic is fixed and must be auditable. A system that reads handwriting should learn: no one can enumerate every way a "7" is drawn. Much of real-world AI engineering is judging which parts of a problem are which.
For now, hold onto the core definition: AI is software that performs tasks associated with intelligence, by learning patterns from data.