a database is an organized collection of data stored and accessed electronically from a server. Most hosting providers will allow you to create databases.
MySQL/MariaDB are open source database management systems that uses structured query language (SQL) to access, add to and manage the content of a database. The fact that it’s an open source tool means that it’s a popular choice for software developers, which is why it forms the backbone of many of the most popular operating systems.
Most modern content management system (such as WordPress) use them to store data. Every change that you make in the CMS is recorded in the MySQL/MariaDB database, and then every time a visitor arrives on the site, the content of that database is served up to them.