AI 101

A plain-language introduction to artificial intelligence: what it is, what it does, and how the chatbots actually work.

What is AI?

Artificial intelligence is software that learns patterns from examples instead of only following hand-written rules. Traditional software does exactly what a programmer told it to do. AI is trained: you show it enormous amounts of data, and it works out the patterns itself.

Most of today's AI is built on neural networks — programs loosely modeled on how brains connect — trained on data at a massive scale. When people say "AI" now, they usually mean generative AI: models that create new text, images, audio, and code instead of just sorting or labeling things.

The chatbots — ChatGPT, Claude, Gemini, Grok — are large language models, or LLMs. An LLM is trained on huge amounts of text to do one thing: predict what comes next. At enough scale, that single skill turns into answering questions, writing, translating, coding, and holding a conversation.

How we got here

The family tree

The buzzwords nest inside each other like Russian dolls. AI is the whole umbrella: machines doing things that take intelligence. Machine learning is the part of AI that learns from data instead of rules. Deep learning is machine learning done with big neural networks. Generative AI is deep learning that creates new content instead of just classifying it. And an LLM is the text-based kind of generative AI — the kind you're chatting with.

AI you already use

Chatbots are just the newest face of it. AI was already in your pocket: the spam filter on your email, face unlock on your phone, traffic predictions in your maps app, the recommendations behind YouTube, Netflix, and Spotify, autocomplete finishing your sentences, your bank flagging a strange charge, and searching your photos for "dog" and having it just work. The difference now is that you can talk to it.

What does it do?

Things people use AI for every day:

Just as important is what it doesn't do. An LLM doesn't know things the way a person does, and it can be confidently wrong — making up facts is called a hallucination. It knows nothing newer than its training, and it has no goals or awareness of its own. The right mental model is a fast, extremely well-read assistant whose work you still check.

How does it work, in 30 seconds?

During training, the model reads trillions of words and keeps adjusting billions of internal dials — its parameters — until its guesses about the next word get very good. Text is chopped into chunks called tokens, and the model works one token at a time. Inside, a mechanism called attention, from the Transformer architecture, lets it weigh which earlier words matter most to the word it's producing. Everything else — the chat, the reasoning, the tools — is built on top of that.

Getting good answers

Using it safely

Go deeper