How to select an appropriate capacitor for input voltage …
The capacitors charge to the output voltage level of the regulator, and then supply localized current while the regulator adjusts to meet the demands on the power rail. The capacitors are placed as near as possible to the current sink to minimize the resistive effects of the trace (or wire) connecting the IC to the supply. $endgroup$