An E-R diagram is a logical representation of data in an organization that views the entire system as entities related to one another. The key elements of an E-R diagram are entities, attributes, and relationships. Entities represent people, places, things, or events and have attributes with defined domains. Relationships connect different entities and can be one-to-one, one-to-many, or many-to-many. E-R diagrams were introduced in 1976 and provide advantages like a logical structure for modeling an organization's data.