# Subtree

*noun*

say it: **“SUB-tree”** **/ˈsʌbˌtriː/**

A node together with all the nodes below it: a smaller tree inside a bigger one.

## What is a **subtree**?

A **subtree** is any node of a tree together with everything below it. A manager's whole team is their subtree, and a folder with everything inside it is a subtree of the folder tree.

## In a sentence

- “Deleting the School folder removes its whole **subtree**, every file and folder inside it.”

Level: Apprentice · [More Data Structures terms at this level](https://www.ask-codey.com/glossary?category=data-structures&level=2)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/subtree
