If you work with microcontrollers like the ATmega328 (Arduino Uno) or ESP8266 (Wemos D1 mini) and want to control many lines at the same time, it can become a problem that there are not enough outputs are available.
One solution are shift registers. More about this in my article about the 74HC595.