A database is a collection of organized data stored electronically. It consists of tables made up of records containing data in fields. A database management system (DBMS) is software that allows users to create, access, manage and analyze this data. The relational model organizes data into tables related through primary and foreign keys. Structured Query Language (SQL) is used to define, manipulate and control access to data in a relational database.