The sequence diagram shows the dynamic collaboration between multiple objects by describing the time sequence of sending messages between objects. It can represent the behavior sequence of a use case. When a use case behavior is executed, each message in it corresponds to a class operation or a trigger event that causes a transition in the state machine. This template creates a sequence diagram for the client for reference.