Metadata sits inside the file (frontmatter, EXIF, ID3), beside the file (sidecar), or in a catalog database.
graph LR F[File] --> I[Inside: frontmatter/EXIF/ID3] F --> S[Sidecar: .yaml, .xml] F --> C[Catalog: database/index] I --> A[Application reads] S --> A C --> A style I fill:#E8F5E9