A database is a collection of related data organized and managed as a single unit. It provides logical and physical data independence through its layered architecture. The physical layer contains the data files, while the logical layer presents the data through common structures like tables. The external layer contains user views that access the database. The database management system handles data access and security across these layers.