An electronic circuit used to implement a variety of simple two-state systems such as oscillators, timers, and flip-flops.