A database is organized data with a system for storing, retrieving, and modifying it reliably. Every application you have ever used depends on one. Here is how they actually work, what the different types do, and what separates a well-designed schema from one that will wreck you at scale.