UML package diagram is usually used to describe the logical architecture of the system - layers, subsystems, packages, etc. It is a combination of basic static diagrams and is a static diagram.
ER diagram (Entity-Relationship diagram) is a tool used for database design. It shows the structure and relationship of data in a graphical way. For beginners, understanding ER diagram is the first step to master database design. Today, ProcessOn editor will show you the basic concepts, components and applications of ER diagram.