A sequence diagram shows the interactions between objects in a system. It displays objects arranged along a timeline, with messages passed between objects over time. Key elements include object lifelines that run vertically, messages shown as horizontal arrows, and activation boxes that indicate when an object is processing a message. Sequence diagrams are useful for illustrating the flow of control in response to events generated by external actors on the system.