Agilent Technologies Interview Question

Describe how a state diagram works.