Definition
A database stores records in structured tables or other formats. Applications read and write to it, for example to show products, save customer orders or store blog posts.
Relational databases use tables linked by keys, while other types store documents or key-value pairs. The right choice depends on how the data is queried and updated.
Back up databases regularly, restrict access to the application account and never expose the database directly to the internet.