Here we used D-flip flops, AND, OR Gates to make a bi-directional shift register in which we can do both left and right shift.