A finite automaton represents a regular language. It consists of states and transitions between states which are
labeled with symbols. Some states are final state. Some input is accepted by the automaton if and only if there is a
final state which can be reached from the initial state by following suitably labeled transitions.