Introduction
Imagine trying to find a book in a huge library without any order or labels. Computers face a similar problem when storing and finding files. The file system structure solves this by organizing files and folders in a clear way.
Think of a file system like a city's street map. The root directory is the city center. Folders are neighborhoods, and files are houses. The path is like the full address you use to find a house, starting from the city center, through neighborhoods, to the exact house.
┌─────────────┐
│ Root Folder │
└─────┬───────┘
│
┌───┴────┐
│ Folder │
│ A │
└───┬────┘
│
┌───┴────┐ ┌───────────┐
│ Folder │ │ File │
│ B │ │ report.txt│
└───┬────┘ └───────────┘
│
┌───┴────┐
│ File │
│ photo.jpg │
└────────┘