State machine
A Model describing the behavior of a System by a finite set of states and state transitions. State transitions are triggered by events and can in turn trigger actions and new events.
State machines are illustrated in State machine diagrams