State are the attribute values of a thing (entity) at a given moment.
A State can be seen as a snapshot of values at a precise moment.
Code is easy,
State is hard
You can modify the state only in 2 ways:
Tracking the changes to values as your program runs and propagating this change is called reactive programming.
And is the core of event-driven data application.
Automata models computing devices or machines through state transition. See Automata - State
A entity may have several related primary state stored in a attribute called status that forms together a lifecyle(ie automata)
See Data - History (Versioning) - Historical Data