# What is AI, really? · AI in Bed

Beginner level · 5 min · https://www.aiinbed.com/learn/beginner/what-is-ai

*AI, machine learning, deep learning, generative AI: four words that fit inside each other like nesting dolls.*

People use "AI" to mean everything from a spam filter to a robot butler. Let's untangle it. **Artificial intelligence** is the broad goal: getting computers to do things we'd normally call intelligent, like recognising faces, translating languages, or planning a route.

*Figure: Each field is a smaller part of the one around it. Most AI news today is about the innermost circle.*

### Artificial Intelligence

The whole umbrella. Early AI (1950s–1980s) was mostly **hand-written rules**: "if the email contains 'lottery winner', mark it spam."

Rules work until the world gets messy. Nobody can write rules for recognising every possible cat photo.

### Machine Learning

Instead of writing rules, we show the computer **lots of examples** and let it figure out the rules itself.

Show it 10,000 emails labelled spam or not-spam and it learns the patterns on its own.

### Deep Learning

Machine learning using **neural networks** with many layers. "Deep" just means lots of layers stacked up.

This is what made computers suddenly good at images, speech and language from about 2012 onwards.

### Generative AI

Deep learning models that **create** new things: text, images, music, code.

Chatbots like ChatGPT, Claude and Gemini, and image tools like Stable Diffusion, all live here.

> Pillow thought: a calculator follows rules someone wrote. A machine learning model writes its own rules by studying examples. That's the whole shift.

**Quick check:** A program that learns to spot spam by studying thousands of labelled emails is an example of…

A. Hand-written rules
B. Machine learning
C. A database
D. Generative AI only

Answer: B. It learns the rules from examples instead of being told them, which is the definition of machine learning.

### Narrow vs. general AI

Every AI system that exists today is **narrow**: good at specific tasks. Even a chatbot that can write poems and code can't, say, ride a bike.

**AGI** (artificial general intelligence) means a system as flexible as a human across almost any task. It's a goal and a debate, not a product you can buy.

**Quick check:** Which statement is true?

A. All deep learning is machine learning
B. All machine learning is deep learning
C. AI and deep learning mean exactly the same thing
D. Generative AI doesn't use neural networks

Answer: A. Deep learning is a subset of machine learning, which is a subset of AI. The nesting only goes one way.

**Key takeaways**

- AI ⊃ Machine Learning ⊃ Deep Learning ⊃ Generative AI.
- Machine learning = learning rules from examples instead of writing them by hand.
- Every AI today is "narrow"; general AI is still a research goal.

**Go deeper (free sources)**

- [Elements of AI: Introduction to AI](https://www.elementsofai.com/) by University of Helsinki & MinnaLearn
- [Machine Learning Crash Course](https://developers.google.com/machine-learning/crash-course) by Google
