Databases are any peice of software that manages and stores structured data of some kind. This can include either schema-less; such as document-based databases and key-value based databases like redis or, relational usually strictly schema'd data like SQL based relational databases.
There are some structured ways to go through the design of databases. For more details check out the article on database design.