Imagine a large library where books are organized on shelves. Each shelf holds books of a certain category, like history, science, or fiction. Each book has a title, author, and publication year. The library uses a card catalog system where each card lists details about a book and points to its location on the shelves. This system helps librarians quickly find any book by looking up information on the cards.
A relational database works like this library. The shelves are like tables, each holding rows of data (books). Each row has columns (title, author, year) representing attributes. The card catalog is like the relationships between tables, helping connect data across different tables to find exactly what you need.