A database management system (DBMS) is middleware that allows programmers, database administrators (DBAs), software applications and end users to store, organize, access, query and manipulate data in a database.
A database is a structured collection of data. The database management system is the software that developers, end users and applications use to interact with a database.
The core component of every DBMS is called the database engine. It is the software that interacts directly with the underlying storage system or file system and orchestrates the interactions between modular sub-components that enable the engine to manage and manipulate data in the database system.