This interactive behavior is represented in UML by two diagrams known as Sequence diagram and Collaboration diagram The basic purpose of both the diagrams  - Information from www.tutorialspoint.com