Diodes

Diodes are electronic components functions as a one-way valve it means it allow current to flow in one direction.