Capacitor in an voltage doubler
The rightmost capacitor does smoothen the output voltage. The left capacitor is used as a charge pump. It charges during one half cycle and discharges (to the right) during the second half cycle.

Notice though that the output impedance of such a circuit is very high and with a small load a noticable ripple will already occur. 

Wikipedia has a nice article on Voltage doublers.