Suggest an editImprove this articleRefine the answer for “What are a parent and a child (parent / child)?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)In a tree, **parent** and **child** describe the hierarchical relationships between nodes: a parent is a node an edge goes out from, a child is a node connected to a parent and located one level lower. **Key point:** a parent is a node higher up in the hierarchy, a child is a node lower down, connected to it through an edge.Shown above the full answer for quick recall.Answer (EN)ImageIn a tree, the terms **parent** and **child** describe the **hierarchical relationships between nodes**. **Parent:** - a node from which **an edge goes out** to another node; - every node (except the root) has exactly **one parent**. **Child:** - a node that is **connected to a parent** through an edge and sits **one level lower**; - a node can have **several children** (0, 1, 2, ...). **Example:** ```javascript A / \ B C / \ D E ``` - `A` is the parent of `B` and `C`. - `B` is the parent of `D` and `E`. - `D` and `E` are children of `B`. - `B` and `C` are children of `A`. **Summary:** **A parent** is a node higher up in the hierarchy, **a child** is a node lower down, connected to it through an edge.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.