Multiple devices to the same pins

SD used SPI. The OLED probably also does, if it uses those pins. Pins 11,12,13 are intended to be used by multiple devices that way. What are 8 and 9 used for?