A Database is a collection of data organised in a structured way. Databases are used to store and retrieve important amounts of data. They are managed with Database Management Systems (DBMS).
Three main database types exist: hierarchical, relational (RDBMS) and object oriented databases (ODBMS). There difference resides in the way they establish relations among data. The most common database type for web applications is relational database.