Diodes are mainly used for rectification of a.c. current for use by many electrical appliances.
Rectification is the conversion of sinusoidal waveform into unidirectional (non-zero) waveform.
In this case, the first half cycle of a sinusoidal waveform is positive and the inclusion of a reverse biased diode makes the current not to flow to the negative side of the wave.