Here is a short tutorial on why DC/DC buck converters need capacitors on the input and how it works in a power design.
An aluminium electrolytic capacitor is more like this The basic equivalent circuit for a capacitor ... the dielectric in series with the ideal capacitance, which is responsible for the capacitor ...