I am been working with shift register to control a 7 segmented LED display. See the images below that I have put together for understanding the pins on both the display and the shift register. You can read more about these two components here.
The model of the register I am using here is a SN74HC595N.
See the images below to under stand which pin does what.