A database is simply a set (for the purposes of this article, a digital set) of data stored in a coherent, accessible way. Collecting and storing data for future use is necessary for many apps and services to run (though the collection of user data into a database can present [privacy](/glossary/privacy/) and [security](/glossary/security/) concerns).