Hi,
I think flip-flop is used a door in circuit.Also referred to as a bistable gate, a type of circuit that is interconnected with like circuits to form logic gates in digital integrated circuits, such as memory chips and microprocessors.It is actually used in logic gate circuits.