Flip-flops are mainly used as static RAM to store data in a computer. That data is represented in binary. Binary is represented in a 1 (“high state”) and 0 (“low state”). The structure of flip flops vary, but the general characteristic is that two branches affect each other's state by putting the current resulting state of one branch and using that as input for the next iteration of the other branch.