Databases are used for data storage, choosing one depends on your use case. Factors such as licensing costs, base size, operating procedures, scalability, transaction isolation, consistency and team knowledge should be considered.
Relational databases are traditional databases that include Oracle, DB2, PostgreSQL and MySQL.
Non relational databases are also referred to as NoSQL databases.
You can have lightweight database included in your application, such as SQLite or Berkeley DB.