A diode allows current to pass easily in one direction and blocks current in the other direction. Diodes are commonly used for rectification which is the conversion of alternating current (AC) into direct current (DC). Because a diode only allows current flow in one direction, it will pass either the upper or lower half of AC waves (half-wave rectification) creating pulsating DC. Multiple diodes can be connected together to utilize both halves of the AC signal in full-wave rectification.