How does a single Arduino control dozens of LEDs?

Thanks for your help, I appreciate it! I never would've known what to search for.

For anyone who stumbles in here with the same question, I found some really helpful info here: http://www.arduino.cc/en/Tutorial/ShiftOut