what i wanted to know was when we use a capacitor as a filter in our rectifier circuit and we get the ripples in the voltage, why is the capacitor connected in parallel and not in series? what would be the effect of connecting the capacitor in series with the diode? any information would be appreciated.