Chapter 1 · Lesson 2

How AI Fields Fit Together

See how AI, data science, machine learning, generative AI, and agents relate without getting lost in jargon.

4 minShort lessonReviewed August 2026
  1. 01
    SituationSee the problem in context
  2. 02
    Build the ideaRead and compare examples
  3. 03
    Make the callComplete the quick exercise

Lesson work

Scenario

You hear terms such as machine learning, data science, generative AI, and agents, but it is unclear whether they describe the same thing.

01

Start with the map, not the tools

Artificial intelligence is the broad goal of making computers perform tasks that normally require human judgment. Machine learning is one way to build AI by learning patterns from data. Deep learning is a machine-learning approach built with layered neural networks, and it powers many current generative AI systems.

02

Data science overlaps with AI

Data science uses statistics, programming, and domain knowledge to understand data and support decisions. It may use machine learning, but it also includes work such as cleaning data, measuring results, and communicating findings. Not every data-science project is AI, and not every AI product is a data-science project.

03

The stack depends on what you are building

A typical data or machine-learning stack may include SQL, Python, pandas, scikit-learn, PyTorch, or cloud services. Generative AI products may add model APIs, retrieval, evaluations, and tool connections. Agents combine a model with instructions, tools, state, and a loop for taking several steps. These are examples, not prerequisites for using AI well.

multiple choice

Which statement describes the AI landscape most accurately?

Choose the answer that best fits the principle from this lesson.

Takeaway

Learn the relationship between the fields first; choose technologies only when the task requires them.