What is the role of discrete resistors and capacitors in a motherboard?
They provide filtering, DC smoothing, adjustment (voltage, current, frequency of an IC), pull-ups and pull-downs, impedance matching, terminations, current limiting, DC blocking, basically all the functions that are included as options for ICs, that can't be placed inside ICs or that can be done cheaper or occupy less space than an additional IC.