Storage and shifting of data
Flip flops are used to store and shift data on clock pulses.
This circuit can put serial data in then shift it out in series or parallel
It uses D flip flops.

JK Flip Flops can also be used in shift register circuits

JK Flip Flops can also be used in counters. This is a 4-bit binary up counter
The
J and K inputs are connected to binary 1 or the supply voltage.
ABCD are the binary outputs. A is the least significant so the binary number is read back to front ie DCBA