Lab #6- Diode Tested tested how a diode works as a gate and only lets electricity pass through one way. When the anode was lined up facing the negative side of the battery, the led was able to line up. When it was faced away from the negative side it did not light up.