UML state machine diagrams depict the states an object can be in and the transitions between those states. States are represented by rounded rectangles with transition lines connecting them. Initial states have filled circles while final states have empty circles with dots. Transitions can have triggers, guards, and effects associated with them. Self-transitions allow an object to return to the same state. Superstates group common transitions to simplify diagrams. Compound states include submachine diagrams. Pseudo-states like choices and junctions control transitions. Concurrent regions divide states into concurrently executing parts using fork and join pseudo-states.