AI explained
How AI Actually Works (No Hype, No Jargon)
My students asked me how AI actually works. Here's the five-minute version I gave them — no hype, no jargon.
september 2026·3 min read
My students asked me how AI actually works the other day. Not "how do I use it" — how it *works*. Underneath. So I gave them the five-minute version, and I'm writing it down here because honestly, most adults I've met would benefit from the same explanation.
It's your keyboard's next-word guess, scaled up
You know how your phone's keyboard guesses your next word? You type "I'm on my" and it suggests "way". That's a tiny prediction machine. It looked at millions of sentences and learned which words tend to follow which.
Modern AI is basically that. Just scaled up to an absurd degree.
Someone fed it a ridiculous amount of the internet — books, articles, forums, documentation, all of it — and it got really, really good at guessing which words come next. That's genuinely the whole trick. It doesn't "know" anything. It predicts.
So what happens when you ask it a question?
It's not looking anything up. There's no database of answers inside it. It's writing out, one word at a time, whatever words are most likely to come next given your question and everything it absorbed during training.
This is why it's so fluent. It learned the *shape* of good explanations, good code, good essays. When you ask it to explain photosynthesis, it produces something shaped exactly like an explanation of photosynthesis — because it has seen thousands of them.
Why it sometimes makes things up
This is the part most people miss, and it's the most important part.
Because it's predicting words, not retrieving facts, it can produce complete fiction with total confidence. It's not lying to you — it doesn't even know what truth is. It's guessing what *sounds* right.
I tell my students: imagine a brilliant classmate who never, ever says "I don't know." Ask them something they've never studied and they'll still give you a smooth, confident, beautifully structured answer. That's AI. Every hallucination makes perfect sense once you see it this way.
How you should actually use it
Once you understand it's a prediction machine, the right way to use it becomes obvious:
- It's amazing for drafts, summaries, brainstorming, and explaining things at your level. Prediction is exactly what those tasks need.
- It's unreliable for facts you can't verify. Dates, citations, statistics, obscure details — check its work. Every time.
- The better your prompt, the better the prediction. Give it context, examples, and constraints, and the "most likely next words" get dramatically better.
Honestly, the day you stop treating it like an oracle and start treating it like a tool — a brilliant intern who never says "I don't know" — that's the day it gets ten times more useful.
The one-sentence version
AI read most of the internet and learned to predict what words come next. Everything else — the fluency, the usefulness, and the confident nonsense — follows from that single fact.
Aaquib Ali is a computer science and mathematics teacher. He writes about CS and AI in plain language.
← All articles