Skip to main content

Basics for Apache Airflows

Airflow basics introduce the core objects: a DAG is a directed acyclic graph that defines a workflow, tasks are its units of work, and operators are templates for what a task does. A first DAG file placed in the dags folder is parsed by the scheduler and appears in the web UI.

Stage: Core Concepts · Part of the Apache Airflow roadmap · Last reviewed 19 November 2026

What to learn in Basics

Basics interview questions

What is a DAG in Airflow?

A DAG is a directed acyclic graph: tasks as nodes and dependencies as one-way edges, with no loops. It defines what to run and in what order, plus the schedule and settings. Airflow runs it by creating a DAG run for each scheduled interval.

What is the difference between a task and an operator?

An operator is a reusable class that defines a kind of work, like running a Bash command or a SQL statement. A task is one instance of an operator inside a DAG with specific arguments. When the DAG runs, each task becomes a task instance with its own state.

Where Basics fits in the Apache Airflow roadmap

Basics belongs to the Core Concepts stage (beginner level). DAGs and tasks.

Back to the full Apache Airflow roadmap