Feb 13, 2018 An entity relationship diagram, on the other hand, is used to depict the logical schema of a database. It shows the real life entities (objects) that the system deals with, as well as their interrelationships. It also shows the attributes of every entity. Both a DFD and and ERD can be used together to depict a software system.