In inode-based Unix filesystems, a directory maps each entry name to an inode number. The inode represents the filesystem object and records metadata needed to find and interpret its data. The pathname is therefore not stored as the object's own primary identity.
The Filesystem · Lesson 11
Inodes
Learn how inode numbers connect directory names to filesystem object metadata and data.