Free guide

Understand how AI works: six questions for the simply curious

To understand how AI works, you don't need maths or code. You need the right questions, asked in a sensible order: what it is, how it learns, how it writes, why it gets things wrong, whether it's thinking and where it's heading. This guide answers each one briefly and points to where you can go further.

Verified 18 Nov 2026 How this is maintained


Some people come to AI because their job demands it. Others just want to know what's going on when they type a question into a chatbot and a fluent paragraph comes back. If you're in the second group, you're in a good position: no deadline, no exam, and the freedom to follow the questions that interest you. The trick is knowing which questions open the most doors.

Understand how AI works through six questions

You can understand how AI works by asking six questions in order. Each one builds on the one before, and together they cover what most people mean by "how it works". The table shows the questions and where Teach me AI answers each in depth.

The questionThe short answerWhere it's covered
What is AI, really?Software that finds patterns in data and uses them to make predictionsWhat AI actually is
How does a machine learn?By adjusting itself, over and over, to make fewer mistakes on examplesHow machines learn
How does a chatbot write a sentence?By predicting a likely next piece of text, one piece at a timeMeet the models; How large language models work
Why does it get things wrong so confidently?It predicts what sounds right, not what is trueLimitations and staying safe
Is it thinking?It does something useful that isn't thinking as people do itTypes and styles of AI
Where did it come from, and where is it going?Decades of slow progress, then a fast runA short history of AI

What is AI, really?

Artificial intelligence is a broad name for software that does things we'd normally say need intelligence: recognising a face, translating a sentence, recommending a film. Most of what's called AI today is machine learning, which means the software learned its behaviour from examples rather than following rules someone wrote by hand.

A spam filter is a good first example. Nobody wrote a rule for every scam email. The filter saw huge numbers of emails labelled spam or not spam, and learned which patterns tend to go with which.

How does a machine learn anything?

A model starts out making bad guesses. It's shown an example, makes a prediction, and is told how wrong it was. It then adjusts its internal settings slightly to be less wrong next time. Repeat that across a vast amount of training data and the settings end up encoding patterns no person could list.

Two things follow. A model is only as good as what it learned from, so gaps and biases in the data carry through. And nobody can point to the exact place where it "knows" something. The knowledge is spread across all those settings.

How does a chatbot write a sentence?

A chatbot built on a large language model writes by prediction. Your question is broken into small pieces called tokens, roughly parts of words. The model then predicts which token is likely to come next, adds it, and repeats. Every word in a reply is a fresh prediction based on everything before it.

That sounds too simple to produce a sensible essay. The surprise of the last few years is how much useful behaviour comes from doing that prediction extremely well, after learning from an enormous amount of text. Teach me AI's interactive explainers let you step through tokens and context windows to see it happen.

If you want to see the mechanism for yourself, try this in any chatbot:

Explain, in plain English, how you produce an answer to my questions. Then give me one example of a mistake your method makes easy, and one question I could ask you that would expose it.

Then ask that question. Watching it stumble teaches more than any diagram.

Why does AI get things wrong so confidently?

A language model predicts text that sounds right, given its training. It has no separate step where it checks a fact against the world. So when it doesn't have a reliable pattern to draw on, it produces something plausible anyway, in the same assured tone. That's called a hallucination.

Tools add safeguards, such as searching the web and citing sources, and they help. They don't change the underlying method. Our guide on why AI gets things wrong goes further into the causes.

Is it actually thinking?

Not in the way you do. A model has no experiences, no goals of its own and no memory of yesterday's chat unless a tool stores one. It's also more than a fancy autocomplete, because predicting text well requires capturing a lot of structure about language and the world. People who study it disagree about how to describe what it does. A fair position for a curious person is that it's a new kind of thing, useful and limited, that doesn't map neatly onto human thinking.

Who isn't this for?

If you need AI for a specific job and want practical skills fast, a different route will suit you better; the free placement will build one. If you want to build AI systems, you'll eventually need more technical material than this. And if you're after predictions of what AI will do to the world, be wary of anyone confident about it. The AI outlook sets out scenarios with its reasoning shown, refreshed monthly, which is more honest than a single forecast.

Where to go from here

Teach me AI's Foundations level is built for this. What AI actually is, A short history of AI, How machines learn, Types and styles of AI and Meet the models answer most of the questions above in short lessons with diagrams that read on a phone. How large language models work, at Builder level, is where the mechanism gets its full treatment.

You don't have to commit to anything to start:

Pick one question from the table that you can't yet answer, and start there.

Common questions

Do I need to use AI tools to understand how AI works?

No, but it helps. Trying a chatbot for ten minutes, and watching it get something wrong, makes the explanations land. You can learn the ideas first and try a tool later, or do both together. Foundations starts from the very beginning.

Is there a way to understand how AI works without signing up?

Yes. There's a complete sample lesson you can read with no account, a glossary with a page for each term, and a six-question quick check that takes about two minutes and asks for no email. The placement can be tried without an account too.

How long does it take to get a decent grasp of AI?

For the broad picture, a few weeks of short lessons is plenty for most curious people. Understanding the mechanism behind language models takes a bit longer and sits at Builder level. You set your own weekly pace, and it changes how fast you go, not what you learn.

Will learning how AI works make me worried about it?

Usually the opposite. Most worry comes from not knowing what's going on inside. Once you see that a chatbot predicts likely text, both its strengths and its mistakes make more sense, and the more extreme claims in either direction become easier to weigh.

Go deeper

Modules that teach this properly

More on this

Learning AI

Every guide on this topic →

Next step

Find out where you actually stand

A short placement assessment scores you across five skill areas and builds a path through our 18 released modules, skipping whatever you already know. No card needed.

Find your level
When this changes

The facts on this page are re-checked on a schedule. One email a month says what moved in AI tools and the rules, and what it means for you.

Once a month. We’ll email you a link to confirm, and every issue has a one-click unsubscribe. How we use your address.