In the Unified Modelling Language, a sequence diagram shows the interaction between different systems. It is one of the four diagram types UML defines. Usually, it shows how objects exchange messages.