A database stores the content that changes: your WordPress posts and pages, product listings, orders, comments and user accounts. When a visitor loads a page, the site asks the database for what it needs and builds the page.
MariaDB is a popular database server that began as a branch of MySQL and stays compatible with it. Software written for MySQL, including WordPress and many PHP applications, normally runs on MariaDB without changes. Our guide to MariaDB and MySQL databases explains the small differences.
Having unlimited databases means you are never forced to squeeze two sites into one. Each website, or each staging copy, can have its own database, which keeps them separate and tidy.