A diode clamper adds a DC level to an AC voltage. The capacitor charges to the peak of the supply minus the diode drop. Once charged, the capacitor acts like a battery in series with the input voltage. The AC voltage will “ride” along with the DC voltage. The polarity arrangement of the diode determines whether the DC voltage is negative or positive.
The output voltage is shifted up about 5V by the positive clamper.