A flip-flop is a bistable circuit used for storing binary states, commonly used in registers and memory.