ELI5: Explain Like I'm 5

Abstract state machine

An abstract state machine is a way to describe how a system works or behaves. It's like having a set of rules, or instructions, that tell the system what to do in different situations. For example, a simple abstract state machine might have two states: ON and OFF. The rule might say that if the ON button is pressed, the system goes into the ON state and if the OFF button is pressed, the system goes into the OFF state. In this way, the system can remember what state it is in, and you can use this same set of instructions to control any system, like a machine in a factory or a computer.