A database is a collection of logically related data. Common operations on a database include inserting, retrieving, updating, and deleting records. There are several types of databases including flat-file, relational, hierarchical, and network databases. A database management system (DBMS) is a collection of programs used to create, maintain and access databases. It includes utilities to process, maintain, backup and recover data. Structured Query Language (SQL) is commonly used with DBMS to create, retrieve, update and delete records from databases.