A database in computing terms is a data structure that stores, organizes and retrieves information (data).
WordPress uses the MySQL or MariaDB relational database management system to organize the contents of your website, such as posts, pages, comments and so on.