AI FOUNDATIONS · LESSON 1
How AI, ML, Deep Learning and GenAI Fit Together
AI, ML, deep learning, GenAI. You hear these words all the time. They're not four separate things: each one sits inside the one before it. Scroll to zoom in, one ring at a time.
Every ring is one kind of the ring around it.
Ring 1 · The outer circle
AI is the goal
Artificial intelligence means a machine doing a task we'd call smart: sorting, recognising, deciding, creating. The word names the goal, not the method.

- Rules: people write every step. "Red and round → apple."
- Learning: the machine works out the pattern from examples.
- Both count as AI. Most AI you use today takes the learning route.
ThinkA rule-based sorter meets a fruit nobody wrote a rule for. What happens?›
Like two cooks making the same dinner: one follows a recipe card, the other learned by tasting. Both are cooking.
The learning route has a name. Step inside: Machine learning ↓Ring 2 · Inside AI
Machine learning learns from data
Instead of writing rules, you show the machine examples that already have the right answer. It finds the pattern, and that pattern is the model.

- Train: show it past houses, each with its size and sale price.
- Learn: it finds the line that fits those dots best. That line is the model.
- Predict: give it a new house size, and it reads the price off the line.
ThinkYou train it only on small apartments, then ask about a big farmhouse. Should you trust the price?›
Like an agent who learned house prices by watching hundreds of sales, not by reading a rulebook.
A line works when the input is a couple of numbers. What about a photo? Step inside: Deep learning ↓Ring 3 · Inside ML
Deep learning finds its own clues
A house is two numbers. A photo is millions of pixel numbers. Nobody can hand-pick the clues in all that, so deep learning stacks many layers that find the clues themselves.

- Early layers spot simple things: edges and lines.
- Middle layers combine those into shapes: a wheel, a frame.
- The last layer decides: "bicycle."
- Shown thousands of labelled photos, all the layers learn together. Nobody programs what each one looks for.
Look insideWhat does a neural network actually look like?›
Each dot is a simple unit that passes a signal on. Each line is a connection with a strength learned during training. "Deep" just means many layers of these.ThinkWhy not just write rules for what a bicycle looks like?›
Like an assembly line: each station adds a little more until a finished product rolls out.
So far every ring labels things. The last ring flips that. Step inside: GenAI ↓Ring 4 · The centre
GenAI makes something new
Deep learning looks at a bicycle photo and says "bicycle." Generative AI goes the other way: ask for "a bicycle on the moon," and it makes a picture that never existed.

- Built on deep learning: the same kind of layered network, trained on huge numbers of examples.
- It learns patterns (what bikes look like, what the moon looks like), then combines them into something new.
- It can make text, images, audio or code. Chat assistants are GenAI for text.
ThinkIs GenAI just copying a picture it found somewhere?›
Like a musician improvising a new tune from years of songs they've heard.
The whole picture
- AI: the goal. A machine doing smart tasks, by rules or by learning.
- Machine learning: learns the pattern from data.
- Deep learning: many layers learn their own clues.
- GenAI: uses those layers to create.
Remember: each ring is one kind of the ring around it. Today's GenAI is built with deep learning, which is a kind of machine learning, which is one way to do AI.