Statechart Diagram diagram)
The main purpose of this diagram is to describe the possible sequences of states and transitions, which in aggregate characterize the behavior of the element of the model during its life cycle. The state diagram represents the dynamic behavior of entities based on the specification of their reaction to the perception of some specific events.
Sequence Diagram
To model the interaction of objects in the UML language, appropriate interaction diagrams are used. The interactions of objects can be considered in time, and then to present the temporary features of the transmission and receiving messages between the objects, the sequence diagram is used. Interacting objects exchange some information among themselves. In this case, the information takes the form of completed messages. In other words, although the message has information content, it acquires an additional ability to have a directed effect on its recipient.