Lesson 1 of 36 · Track 1: Understand AI

What is AI? AI vs machine learning vs deep learning vs generative AI

Beginner8 min5 steps1 videoFree · no login
The short answer

Artificial intelligence (AI) is technology that lets computers do things we link with human thinking, like understanding language, spotting patterns and making decisions. Machine learning is the part of AI where computers learn from examples instead of hand-written rules. Deep learning is machine learning with large neural networks, and generative AI, like ChatGPT, Claude and Gemini, is deep learning that creates new text, images or code.

  1. 1

    So what counts as AI?

    IBM defines AI as technology that lets computers “simulate human learning, comprehension, problem solving”, decision making and creativity. In simple words: if a machine does a task that would need some thinking if a person did it, we call it AI.

    You already use AI many times a day. Most of it is invisible. It sits quietly inside apps you open without thinking.

    • Your bank flags an unusual UPI payment from a new city at 3 a.m.
    • YouTube, Netflix or Swiggy suggests what to watch or order next.
    • Your phone turns your voice into a WhatsApp message.
    • ChatGPT writes a leave application when you ask for one.
    Key idea

    AI is a goal (machines doing tasks that seem to need intelligence), not one single technology.

  2. 2

    Rules vs learning: what is machine learning?

    The old way to build “smart” software was to write rules by hand. A programmer might write: if a payment is over ₹50,000 and comes from a new phone, block it. Rules are clear, but they break when the world changes and nobody wrote a rule for the new case.

    Machine learning (ML) flips this. Google describes it as a way for a system to “learn and improve from experience” instead of being explicitly programmed. You show it thousands of past examples, say payments marked “fraud” or “fine”, and it finds the patterns itself. The result is called a model: a program that makes predictions on new data.

    1. Past examples (data)
    2. Training
    3. Model
    4. Prediction on new data
    Key idea

    Traditional programs follow rules people write. Machine learning finds the rules from examples.

  3. 3

    What is deep learning?

    Deep learning is a kind of machine learning that uses neural networks with many layers. A neural network is a big web of simple maths units, loosely inspired by brain cells, that pass numbers to each other. “Deep” just means many layers stacked on top of each other.

    Each layer picks up slightly more complex patterns than the one before. Roughly, for a photo of a cricket match, early layers react to edges and colours, and later layers react to shapes like a bat, a ball or a face. Deep learning needs lots of data and powerful chips called GPUs. It took off in 2012, when a deep network called AlexNet won a major image contest by a wide margin (more on that in the next lesson).

    • Opening your phone with your face
    • Speech-to-text and voice typing
    • Google Translate and photo search
  4. 4

    What is generative AI?

    Most older AI predicts or sorts: spam or not spam, fraud or fine, which video you might like. Generative AI creates something new: text, images, audio, video or code. IBM describes it as deep learning models “that can create complex original content”.

    ChatGPT, Claude and Gemini are generative AI. They are built on large language models (LLMs), which you will meet in lesson 3. They have not stored your leave application somewhere. They write a fresh one each time, based on patterns learned from huge amounts of text.

    Predictive AI vs generative AI
    Predictive: “Is this email spam?” → “Yes, 98% likely spam.” Generative: “Write a polite 3-line email asking my manager for Friday off.” → a brand-new email that did not exist before.
  5. 5

    How do they all fit together?

    Think of nested circles, like a Russian doll. AI is the biggest circle. Machine learning sits inside AI, deep learning sits inside machine learning, and generative AI sits inside deep learning. LLMs are one type of generative AI, focused on text.

    You may also hear “AGI” (artificial general intelligence): AI that could learn and do almost any mental task a person can. IBM calls this level still theoretical, and researchers disagree on when, or whether, it will arrive. Today’s tools are powerful but still make basic mistakes.

    • AI: any machine doing “smart” tasks, e.g. a chess program or route planner
    • Machine learning: learns from data, e.g. spam filters and fraud alerts
    • Deep learning: many-layer neural networks, e.g. face recognition and voice typing
    • Generative AI: creates new content, e.g. ChatGPT, Claude, Gemini, image generators
    Key idea

    All generative AI is deep learning, all deep learning is machine learning, and all machine learning is AI. Not the other way around.

From the people who built it

Straight from the source

The original idea, then the same idea taken apart, then how you use it today.

John McCarthy, Marvin Minsky, Nathaniel Rochester and Claude Shannon
The four researchers who proposed the 1956 Dartmouth summer study that started AI as a field. McCarthy chose the name “artificial intelligence”.
A Proposal for the Dartmouth Summer Research Project on Artificial Intelligence (August 31, 1955)
1 · Understand
They guessed that “every aspect of learning or any other feature of intelligence” could in principle be described so precisely that a machine could simulate it. Their aim was to make machines use language, form concepts and solve problems then left to humans.
2 · Break it down
  • AI was defined by a goal, not a method. Any machine that does these jobs counts, whether it follows rules or learns from data.
  • Their list of topics already included using language, “neuron nets” and self-improvement. Today we call these chatbots, neural networks and machine learning.
  • The key word is “simulate”. The aim was to reproduce what intelligence does, not to build a copy of a brain.
  • They planned it as a two-month summer project. Seventy years later, the work is still going.
3 · Use it
When you meet a new AI tool, ask the Dartmouth question: which human task is it doing, such as writing, sorting or recognising, and how well? That tells you more than arguing about whether it is “really” intelligent.
Alan Turing
British mathematician and one of the founders of computer science. His 1950 paper is one of the first serious studies of machine intelligence.
Computing Machinery and Intelligence (Mind, October 1950)
1 · Understand
Turing opened with the question “Can machines think?” and then set it aside, because the words “machine” and “think” are too vague to settle. In its place he proposed a game: can a machine answer typed questions so well that a questioner cannot reliably tell it from a person?
2 · Break it down
  • He swapped a fuzzy question (“does it think?”) for a test you can actually run (“can you tell it apart?”).
  • The test looks only at behaviour: what the machine says, not what is going on inside it.
  • Today’s definitions of AI keep that spirit: a machine doing tasks we link with human thinking.
  • Modern chatbots write fluent, human-sounding text, yet still make basic mistakes. Sounding human and being right are different things.
3 · Use it
Judge a chatbot by the quality of its answers, not by how human it sounds. Fluent writing is easy for today’s models, so check whether the facts and the reasoning hold up.
6 terms

Words to know

Artificial intelligence (AI)
Technology that lets computers do tasks we link with human thinking, like understanding language or making decisions.
Machine learning (ML)
A part of AI where computers learn patterns from examples instead of following hand-written rules.
Model
The result of training: a program that takes new input and gives a prediction or an output.
Neural network
A web of simple maths units, arranged in layers, that learns by adjusting the numbers that connect them.
Deep learning
Machine learning that uses neural networks with many layers. It powers face recognition, voice typing and chatbots.
Generative AI
AI that creates new content (text, images, audio, code) instead of only sorting or predicting.
1 video · plays here

Watch

Hand-picked from the people who explain this best. The video loads only when you press play.

AI, Machine Learning, Deep Learning and Generative AI Explained
IBM Technology · 10 min

A clear 10-minute whiteboard talk on how AI, ML, deep learning and generative AI nest inside each other. Watch it after reading step 5.

Hands-on · 10 minutes or less

Try it

Find the AI hiding in your phone

  1. 1Write down 5 apps you used today, for example a UPI app, YouTube, Google Maps, Swiggy or Zomato, and your camera.
  2. 2Next to each, guess one feature that uses AI and whether it predicts (sorts, ranks, flags) or generates (writes, draws).
  3. 3Open a free chatbot such as Claude or ChatGPT and paste: “For each of these apps, name one feature that probably uses machine learning and say if it is predictive or generative AI. Say clearly when you are guessing: [your list]”.
  4. 4Compare its answer with your guesses. Where do you disagree, and why?
  5. 5Finally ask: “Explain the difference between machine learning and generative AI in 3 lines for a friend who has never studied computers.” The answer you just got is generative AI at work.
Open Claude (free)
3 questions · instant feedback

Check yourself

Pick an answer to see if you are right, and why.

Question 1

Question 1 of 3

A bank system studies millions of past payments and learns to flag a suspicious UPI transfer. What is the best description?

Question 2

Question 2 of 3

Which statement is correct?

Question 3

Question 3 of 3

You ask ChatGPT to write a birthday message for your mother. Why is this called generative AI?

Lesson 1 of 36

Done? Keep going

Mark this lesson complete to keep your place. Progress is saved on this device, no login.

Up next · Lesson 2 · 10 minHow AI started: 1956 to ChatGPTAI got its name at a 1956 summer workshop at Dartmouth College, then went through boom and bust cycles called AI winters. Deep learning took off in 2012, Google’s 2017 transformer paper made today’s language models possible, and ChatGPT (November 2022) brought AI to everyone. Since 2024 the focus has moved to reasoning models and AI agents that take actions.
People also ask

Questions people ask

Is ChatGPT AI or machine learning?

Both. ChatGPT is AI, and it was built with machine learning. More precisely, it is a deep learning model called a large language model (LLM), which is a type of generative AI.

What is the difference between AI and machine learning?

AI is the broad goal of making machines do tasks that seem to need intelligence. Machine learning is one way to get there: the computer learns patterns from data instead of following rules a programmer wrote. Almost all modern AI uses machine learning.

Do I need coding or maths to learn AI?

Not to start. You can understand and use AI tools well with no coding at all, which is what the first two tracks of this path cover. Building AI products later needs some programming, and training your own models needs more maths.

8 sources · checked Nov 2026

Sources and further reading

Free · No signup to start

Going for an AI role? Practise the interview.

Talk to an AI interviewer about what you just learned and get feedback on every answer.

Start a free mock interview