A database consists of organized data—that is, the data itself and a schema that provides data structures. Nowadays, most databases are organized in tables, and you can define the table characteristics independently of the actual data you’re going to store into it.
A database management system (DBMS), such as MySQL or PostgreSQL, is a software package that lets you create, retrieve, update, and delete (CRUD) items of data and elements of the schema.
Therefore, when talking about a database, you need to distinguish between three aspects:
The data it contains
The structure you impose on the data in order ...