A database organizes data into predefined tables, columns, and relationships, making it a structured data type. Filesystems and mail files are semi-structured or unstructured because they contain raw files, text, and attachments without a rigid relational schema.